This event is emitted when the annotation selection changes. The event includes the list of selected annotations.
Get the list of selected annotations.
instance.addEventListener("annotationSelection.change", (annotations: AnnotationSelectionChangeEvent) => { console.log(annotations.toJS());}); Copy
instance.addEventListener("annotationSelection.change", (annotations: AnnotationSelectionChangeEvent) => { console.log(annotations.toJS());});
NutrientViewer.EventName.ANNOTATION_SELECTION_CHANGE
This event is emitted when the annotation selection changes. The event includes the list of selected annotations.