@mocanvas/mocanvas · interface

TLArrowHintOverlay

interface TLArrowHintOverlay extends TLOverlay

The hint drawn on a shape an arrow terminal is about to bind to.

Not the arrow: the *target*. Dragging an arrow end over a rectangle outlines the rectangle, which is the only cue that letting go will attach rather than drop a loose endpoint.


Properties · 3

bounds: OverlayBox

Page-space bounds of that shape.

shapeId: string

The shape being hinted at.

type: "arrowHint"

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.