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