Nutrient Web SDK

ReferenceEventsAnnotationsUpdateEvent

Type Alias AnnotationsUpdateEvent

This event is emitted when annotations are updated. The event includes the list of updated annotations.

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

Example

Get the list of updated annotations.

instance.addEventListener("annotations.update", (annotations: AnnotationsUpdateEvent) => {
console.log(annotations.toJS());
});

See Also