Nutrient Web SDK
    Preparing search index...

    Type Alias AnnotationSelectionChangeEvent

    AnnotationSelectionChangeEvent: NutrientViewer.Immutable.List<AnnotationsUnion>

    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());
    });