This event is emitted whenever an annotation is duplicated. You can
do this by pressing Cmd/Ctrl+D
on the keyboard.
Example
Get current duplicate annotation
instance.addEventListener("annotations.duplicate", (event) => {
const duplicatedAnnotation = event.annotation;
});
Members
Members
The annotation that was duplicated.
Type:
The newly created form field for the duplicated widget annotation.
Type:
The original annotation that was duplicated.
Type:
The form field of the widget annotation that was duplicated.