ZoomInClickEvent Interface
Represents an event that is fired when the zoom in button is clicked.
export declare interface ZoomInClickEvent extends ViewerEvent
Remarks
This event provides read-only access to the current zoom level and allows modification of the target zoom level before it's applied. The event can be prevented to stop the zoom operation entirely.
Fields
zoomLevelBefore
The current zoom level before the change.
readonly zoomLevelBefore: number;
zoomLevelAfter
The target zoom level after the change. This value can be modified to customize the zoom operation.
zoomLevelAfter: 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) |