ZoomChangedEvent Interface
Represents an event that is emitted when the zoom level has changed.
export declare interface ZoomChangedEvent extends ViewerEvent
Remarks
This interface defines the properties available in a zoom changed event, including the previous and current zoom levels. This event is emitted after the zoom operation has been completed successfully.
Fields
zoomLevelBefore
The zoom level before the change.
readonly zoomLevelBefore: number | "automatic" | "pageFit" | "pageWidth";
zoomLevelAfter
The zoom level after the change.
readonly zoomLevelAfter: number | "automatic" | "pageFit" | "pageWidth";
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) |