Type Alias AnnotationsCreateEvent
Type Alias
Type Signature
Example
Get the list of created annotations.
instance.addEventListener("annotations.create", (annotations: AnnotationsCreateEvent) => {
console.log(annotations.toJS());
});
Nutrient Web SDK
Get the list of created annotations.
instance.addEventListener("annotations.create", (annotations: AnnotationsCreateEvent) => {
console.log(annotations.toJS());
});
This event is emitted when new annotations are created. The event includes the list of created annotations.