@mocanvas/mocanvas · class
declare class ZoomTool extends StateNodeClick, alt-click or drag a box to move the camera.
Methods · 3
onEnter(info?: {onExit(): voidreturnToOriginatingTool(): voidGo back to whatever tool the user was in, or to select.
Properties · 4
static children: () => StateNodeConstructor[]static id: stringinfo: {The tool the user was in when they reached for zoom, if any.
static initial: stringmocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.