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