Events

annotations.duplicate

Detailed viewer event reference for annotations.duplicate.

Summary

  • Category: Annotations
  • Event: annotations.duplicate
  • Trigger: Fires after annotations are duplicated.

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

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