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