Events
annotations.didSave
Detailed viewer event reference for annotations.didSave.
Summary
- Category: Annotations
- Event:
annotations.didSave - Trigger: Fires after annotations are persisted.
Payload
[ImmutableList<Annotation>];
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('annotations.didSave', payload);
}
instance.addEventListener('annotations.didSave', onEvent);
instance.removeEventListener('annotations.didSave', onEvent);