writeText method
The writeText()
method of the Clipboard interface writes the
specified text to the system clipboard, returning a Promise
that is
resolved once the system clipboard has been updated.
Implementation
external JSPromise<JSAny?> writeText(String data);