AnnotationCreatingEvent Interface
Represents an event that is emitted when a new annotation is being created.
export declare interface AnnotationCreatingEvent extends ViewerEvent
Remarks
This event is fired before the annotation is actually added to the document, allowing listeners to modify or cancel the creation process through the annotation options.
Fields
annotation
annotation: AnnotationOptions;
Field Value
Inherited Fields
| defaultPrevented | Gets a value indicating whether the event's default action has been canceled. (Inherited from ViewerEvent) |
Inherited Methods
| preventDefault | Cancels the event if it is cancelable, without stopping further propagation of the event. (Inherited from ViewerEvent) |