write

inline suspend fun Clipboard.write(data: ClipboardItems)(source)

The write() method of the Clipboard interface is used to write data such as images, text, and custom types, to the system clipboard.

MDN Reference