@mocanvas/editor · interface

TLDragShapesOutInfo

interface TLDragShapesOutInfo extends TLDragShapesInfo

Shapes have been dragged away from this shape.


Properties · 1

nextDraggingOverShapeId: ShapeId | null

The shape they are being dragged into, if any.

A container that reparents its children back to the page on the way out must check this first: when the shapes are on their way into another container, that container decides where they go.

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.