copyAs
See source codeCopy the given shapes to the clipboard.
function copyAs(
  editor: Editor,
  ids: TLShapeId[],
  format?: TLCopyType,
  opts?: TLImageExportOptions
): 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>Prev
containBoxSizeNext
createMediaAssetInfoSkeleton