Some plugins are available to provide common functionality out of the box
Callback interface for handling the pan event
const onPan = (deltaX: number, deltaY: number) => { panHandler.pan(deltaX, deltaY); clearAndDraw(); }
Callback interface for handling the scroll event
const onZoom = (scaleDiff: number) => { panHandler.incrementZoom(scaleDiff); clearAndDraw(); }
Generated using TypeDoc
Some plugins are available to provide common functionality out of the box