copyAs
Copy the given shapes to the clipboard.
function copyAs(
editor: Editor,
ids: TLShapeId[],
format?: TLCopyType,
opts?: TLSvgOptions
): Promise<void>
Parameters
Name | Description |
---|---|
|
The editor instance. |
|
The ids of the shapes to copy. |
|
The format to copy as. |
|
Options for the copy. |
Returns
Promise<void>