This event will be emitted whenever an annotation note is hovered.
Register a AnnotationNoteHoverEvent using NutrientViewer.EventName.ANNOTATION_NOTE_HOVER 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 hovered.
Call this method to opt-out from showing the default annotation note UI.
This event will be emitted whenever an annotation note is hovered.
Example
Register a AnnotationNoteHoverEvent using NutrientViewer.EventName.ANNOTATION_NOTE_HOVER and prevent the default annotation note UI from showing.