Nutrient Web SDK

v0.0.0-dev

ReferenceEventsAnnotationsDuplicateEvent

Interface AnnotationsDuplicateEvent

This event is emitted whenever an annotation is duplicated. You can do this by pressing Cmd/Ctrl+D on the keyboard.

Interface

Example

Get current duplicate annotation

instance.addEventListener("annotations.duplicate", (event) => {
const duplicatedAnnotations = event.annotations;
});

Hierarchy

AnnotationsDuplicateEvent

Properties

The annotation that was duplicated.

formFields

Optional

The newly created form field for the duplicated widget annotation.

The original annotation that was duplicated.

The form field of the widget annotation that was duplicated.