Interface: AnnotationNotePressEvent

PSPDFKit.AnnotationNotePressEvent

This event will be emitted whenever an annotation note is selected by pressing its associated icon.

Example

Register a AnnotationNotePressEvent handler and prevent the default annotation note UI from showing.

instance.addEventListener("annotationNote.press", (event) => {
  event.preventDefault();
});

Members




Members

annotationNote: PSPDFKit.AnnotationNote|null

Annotation note for which the icon has been pressed.

Type:
  • PSPDFKit.AnnotationNote | null

preventDefault: function

Call this method to opt-out from showing the default annotation note UI.

Type:
  • function