Clipboard interface implements the Clipboard API, providing—if the user grants permission—both read and write access to the contents of the system clipboard.
Requests text from the system clipboard; returns a
Promise which is resolved with a
DOMString containing the clipboard's text once it's available.
Writes arbitrary data to the system clipboard. This asynchronous operation signals that it's finished by resolving the returned