Events

annotations.cut

Detailed viewer event reference for annotations.cut.

Summary

  • Category: Annotations
  • Event: annotations.cut
  • Trigger: Fires after selected annotations are cut.

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.cut', payload);
}

instance.addEventListener('annotations.cut', onEvent);
instance.removeEventListener('annotations.cut', onEvent);