copyAs
See source codeCopy the given shapes to the clipboard.
function copyAs(
  editor: Editor,
  ids: TLShapeId[],
  opts: CopyAsOptions
): Promise<void>Parameters
| Name | Description | 
|---|---|
  | The editor instance.  | 
  | The ids of the shapes to copy.  | 
  | Options for the copy.  | 
Returns
Promise<void>Prev
containBoxSizeNext
createBookmarkFromUrl