Events

annotations.delete

Detailed viewer event reference for annotations.delete.

Summary

  • Category: Annotations
  • Event: annotations.delete
  • Trigger: Fires after annotations are deleted.

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

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