write

suspend fun write(data: ClipboardItems)(source)

The write() method of the Clipboard interface writes arbitrary ClipboardItem data such as images and text to the clipboard, fulfilling the returned Promise on completion.

MDN Reference