removeFrame

See source code

Remove a frame.

function removeFrame(editor: Editor, ids: TLShapeId[]): void

Parameters

NameDescription

editor

tldraw editor instance.

ids

Ids of the frames you wish to remove.

Returns

void
Prev
registerDefaultSideEffects
Next
serializeTldrawJson