Skip to main content

Home > @jsplumbtoolkit/browser-ui > SurfacePanZoomParams

SurfacePanZoomParams interface#

Payload for a pan/zoom event from a surface.

Signature:

export interface SurfacePanZoomParams 

Properties#

PropertyTypeDescription
event?Event(Optional) Event that caused the pan. May be null.
oldZoomnumberprevious zoom
xnumberCurrent x pan value
ynumberCurrent y pan value
zoomnumbercurrent zoom