Events
annotationSelection.change
Detailed viewer event reference for annotationSelection.change.
Summary
- Category: Annotations
- Event:
annotationSelection.change - Trigger: Fires when the selected annotation set changes.
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('annotationSelection.change', payload);
}
instance.addEventListener('annotationSelection.change', onEvent);
instance.removeEventListener('annotationSelection.change', onEvent);