This event is emitted when new annotations are created. The event includes the list of created annotations.
Get the list of created annotations.
instance.addEventListener("annotations.create", (annotations: AnnotationsCreateEvent) => { console.log(annotations.toJS());}); Copy
instance.addEventListener("annotations.create", (annotations: AnnotationsCreateEvent) => { console.log(annotations.toJS());});
NutrientViewer.EventName.ANNOTATIONS_CREATE
This event is emitted when new annotations are created. The event includes the list of created annotations.