This event will be emitted whenever an annotation note is selected by pressing its associated icon.
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();}); Copy
instance.addEventListener("annotationNote.press", (event) => { event.preventDefault();});
Optional
Annotation note for which the icon has been pressed.
Call this method to opt-out from showing the default annotation note UI.
This event will be emitted whenever an annotation note is selected by pressing its associated icon.
Example
Register a AnnotationNotePressEvent using NutrientViewer.EventName.ANNOTATION_NOTE_PRESS and prevent the default annotation note UI from showing.