Events
annotationPresets.update
Detailed viewer event reference for annotationPresets.update.
Summary
- Category: Annotations
- Event:
annotationPresets.update - Trigger: Fires when annotation preset definitions are updated.
Payload
[AnnotationPresetMap];
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('annotationPresets.update', payload);
}
instance.addEventListener('annotationPresets.update', onEvent);
instance.removeEventListener('annotationPresets.update', onEvent);