This event is emitted when annotations are updated. The event includes the list of updated annotations.
Get the list of updated annotations.
instance.addEventListener("annotations.update", (annotations: AnnotationsUpdateEvent) => { console.log(annotations.toJS());}); Copy
instance.addEventListener("annotations.update", (annotations: AnnotationsUpdateEvent) => { console.log(annotations.toJS());});
NutrientViewer.EventName.ANNOTATIONS_UPDATE
This event is emitted when annotations are updated. The event includes the list of updated annotations.