Home > @jsplumbtoolkit/browser-ui > Surface > nudgeWheelZoom
Surface.nudgeWheelZoom() method
Nudges the wheel zoom by the given amount. This function is intended for use by components that control zoom via the mouse wheel, and not for general usage. See nudgeZoom
for a more general version of this.
Signature:
nudgeWheelZoom(delta: number, e?: any): void;
Parameters
Parameter | Type | Description |
---|---|---|
delta | number | Amount to change zoom by. |
e | any | Original event that caused the nudge. May be null. |
Returns:
void