Nutrient Web SDK

ReferenceEventsAnnotationsLoadEvent

Type Alias AnnotationsLoadEvent

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

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

Example

Get the list of loaded annotations.

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

See Also