> For the complete documentation index, see [llms.txt](https://docs.checklist.getalvis.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.checklist.getalvis.com/widget/api-callback-methods.md).

# API Callback Methods

When Alvis script is loaded and ready, you can hook into the event. This requires a function argument.

```javascript
window.Alvis("on", "ready", function() { }); 
```

When we dismiss the checklist and the launcher, you can hook into the event. This requires a function argument.

```javascript
window.Alvis("on", "dismiss", function(e) { }); 
```

When all the checklist items are completed by a user, you can hook into the event. This requires a function argument.

```javascript
window.Alvis("on", "checklist-complete", function(e) { }); 
```
