Nutrient Web SDK

ReferenceEventsAnnotationNotePressEvent

Interface AnnotationNotePressEvent

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

Interface

Example

Register a AnnotationNotePressEvent using NutrientViewer.EventName.ANNOTATION_NOTE_PRESS and prevent the default annotation note UI from showing.

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

Properties

Annotation note for which the icon has been pressed.

() => boolean

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