This event is emitted whenever an annotation is pasted.
Example
Get current pasted annotation
instance.addEventListener("annotations.paste", (event) => {
const pastedAnnotation = event.annotation;
});
Members
Members
The annotation that was pasted.
Type:
The formField generated for the pasted annotation.
Type:
The original annotation that was cut or copied.
Type:
The form field associated with the original widget annotation that was cut or copied.
Type:
The action that was taken on the original annotation.
This can be CUT
or COPY
.
Type:
- "COPY" | "CUT"