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
hi

We use cookies on this website.
Learn more in our Cookie Policy.