Events
toolbar.documentEditorItemsChange
Detailed viewer event reference for toolbar.documentEditorItemsChange.
Summary
- Category: Toolbar
- Event:
toolbar.documentEditorItemsChange - Trigger: Fires when document editor toolbar items change.
Payload
[ToolbarItemsChangeEvent];
Payload fields
Payload is not an object literal. Use the declaration above and runtime guards when handling this event.
Subscription example
function onEvent(payload) {
console.log('toolbar.documentEditorItemsChange', payload);
}
instance.addEventListener('toolbar.documentEditorItemsChange', onEvent);
instance.removeEventListener('toolbar.documentEditorItemsChange', onEvent);