@mocanvas/editor · interface
interface TLHandleDragInfo<T extends UnknownShape = UnknownShape>What a handle-drag callback is told.
Properties · 3
handle: ShapeHandleThe handle being dragged, in shape-local coordinates.
initial?: T | undefinedThe shape as it was when the drag started, for gestures that need a baseline.
isPrecise: booleanWhether the drag should ignore snapping and land exactly where the pointer is. Held-modifier behaviour, surfaced so a util can honour it in its own placement logic too.
mocanvas 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.