Home > @jsplumbtoolkit/browser-ui > SurfacePanZoomParams
SurfacePanZoomParams interface
Payload for a pan/zoom event from a surface.
Signature:
export interface SurfacePanZoomParams
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
event? | Event | (Optional) Event that caused the pan. May be null. | |
oldZoom | number | previous zoom | |
x | number | Current x pan value | |
y | number | Current y pan value | |
zoom | number | current zoom |