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