exportToBlob
Public function
Export the given shapes as a blob.
Signature
function exportToBlob({
editor,
ids,
format,
opts,
}: {
editor: Editor
format: TLExportType
ids: TLShapeId[]
opts?: Partial<TLSvgOptions>
}): Promise<Blob>
Parameters
Name | Description |
---|---|
|
|
Returns
Promise<Blob>
A promise that resolves to a blob.
References
Editor, TLExportType, TLShapeId, TLSvgOptions
Source