OnDragFromToolbarToCreateShapesOpts

See source code
Table of contents

Options for onDragFromToolbarToCreateShape.

interface OnDragFromToolbarToCreateShapesOpts {}

Methods

createShape

Create the shape being dragged. You don't need to worry about positioning it, as it'll be immediately updated with the correct position.

Parameters

NameDescription

id

Returns

void;

onDragEnd

optional

Called once the drag interaction has finished.

Parameters

NameDescription

id

Returns

void;

Prev
NoteShapeOptions
Next
OverflowingToolbarProps