clipboard

Perform 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
  • returns void

clipboard.readHTML()

Returns the markup saved in clipboard.

  • returns string

clipboard.writeHTML(text)

Writes markup to the clipboard.

  • arguments
    • text string
  • returns void

clipboard.clear()

Clears the text saved in clipboard.

  • returns void
Last Updated: 8/22/2019, 5:46:31 PM
MIT Licensed | Copyright © 2019-present Nishkal Kashyap