Events

annotations.copy

Detailed viewer event reference for annotations.copy.

Summary

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

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

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