Nutrient Web SDK

ReferenceEventsAnnotationsDeleteEvent

Type Alias AnnotationsDeleteEvent

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

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

Example

Get the list of deleted annotations.

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

See Also