Advanced : using event hooks
Attaching listeners to these events can allow automation of operations/workflows
This is an early-stage feature. Use at your own risk, and only if you're familiar with JavaScript programming.
Extension events
Event name | Triggered when... | Returns |
| Extension setup has completed | The extension's data store |
| A page menu has finished rendering |
|
| Metadata has been added to an item's page |
|
| Notes have been added to an item's page |
|
| A data update request has completed |
|
| A write request to Zotero has completed |
|
Detail of the events
The data returned for an event ev
can be accessed through ev.detail
.
See below for what is returned under different scenarios :
zotero-roam:ready
zotero-roam:menu-ready
zotero-roam:metadata-added
zotero-roam:notes-added
zotero-roam:update
zotero-roam:write
Last updated