exportToBlob
See source codeDeprecated: Use Editor.toImage instead.
Export the given shapes as a blob.
function exportToBlob({
editor,
ids,
format,
opts,
}: {
editor: Editor
format: TLExportType
ids: TLShapeId[]
opts?: TLImageExportOptions
}): Promise<Blob>Parameters
| Name | Description |
|---|---|
| |
Returns
Promise<Blob>A promise that resolves to a blob.
Prev
exportAsNext
fitFrameToContent