Deprecated: The format parameter is now part of the opts object.

function copyAs(
  editor: Editor,
  ids: TLShapeId[],
  format: TLCopyType,
  opts?: TLImageExportOptions & {
    format?: undefined
  }
): Promise<void>

Parameters

NameDescription

editor

ids

format

opts

TLImageExportOptions & {
  format?: undefined
}

Returns

Promise<void>
Prev
containBoxSize
Next
createEmptyBookmarkShape
hi

We use cookies on this website.
Learn more in our Cookie Policy.