ValueChangingEvent Interface
Represents an event that is fired when the zoom level is about to change.
export declare interface ValueChangingEvent extends ViewerEvent
Remarks
This event can be prevented to stop the zoom level from being applied.
Fields
value
The zoom level that is about to be applied.
value: "pageFit" | "pageWidth" | (typeof constants.zoomPercentageDropdownValues)[number];
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) |