clipboardPerform copy and paste operations on the system clipboard.
clipboard.readText()
Returns the text saved in clipboard.
- returns
string
clipboard.writeText(text)
Writes text to clipboard.
- arguments
- text
string
- text
- returns
void
clipboard.readHTML()
Returns the markup saved in clipboard.
- returns
string
clipboard.writeHTML(text)
Writes markup to the clipboard.
- arguments
- text
string
- text
- returns
void
clipboard.clear()
Clears the text saved in clipboard.
- returns
void