Interface: AnnotationNoteHoverEvent

PSPDFKit.AnnotationNoteHoverEvent

This event will be emitted whenever an annotation note is hovered.

Example

Register a AnnotationNoteHoverEvent 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 hovered.

Type:
  • PSPDFKit.AnnotationNote | null

preventDefault: function

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

Type:
  • function