Nutrient Web SDK

ReferenceEventsAnnotationsPasteEvent

Interface AnnotationsPasteEvent

This event is emitted whenever an annotation is pasted.

Interface

Example

Get current pasted annotation

instance.addEventListener("annotations.paste", (event) => {
const pastedAnnotations = event.annotations;
});

Hierarchy

AnnotationsDuplicateEventAnnotationsPasteEvent

Properties

The annotation that was pasted.

formFields

Optional

The form field generated for the pasted annotation.

The original annotation that was cut or copied.

The form field associated with the original widget annotation that was cut or copied.

"COPY" | "CUT"

The action that was taken on the original annotation. This can be CUT or COPY.