write

abstract external fun write(data: ReadonlyArray<ClipboardItem>): Promise<Void>(source)

Resolves once the data has been written to the clipboard. All entries supplied in a single write() call are committed to the system clipboard atomically.