This event is emitted whenever an annotation is duplicated. You can do this by pressing Cmd/Ctrl+D on the keyboard.
Cmd/Ctrl+D
Get current duplicate annotation
instance.addEventListener("annotations.duplicate", (event) => { const duplicatedAnnotations = event.annotations;}); Copy
instance.addEventListener("annotations.duplicate", (event) => { const duplicatedAnnotations = event.annotations;});
The annotation that was duplicated.
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.
This event is emitted whenever an annotation is duplicated. You can do this by pressing
Cmd/Ctrl+Don the keyboard.Example
Get current duplicate annotation