Nutrient Web SDK

ReferenceEventsAnnotationSelectionChangeEvent

Type Alias AnnotationSelectionChangeEvent

This event is emitted when the annotation selection changes. The event includes the list of selected annotations.

Type Alias
Type Signature
type AnnotationSelectionChangeEvent = NutrientViewer.Immutable.List<AnnotationsUnion>

Example

Get the list of selected annotations.

instance.addEventListener("annotationSelection.change", (annotations: AnnotationSelectionChangeEvent) => {
console.log(annotations.toJS());
});

See Also