Note: This project is currently under active development. Documentation is incomplete and things may not work as expected. 🤯
Visit
Dismiss

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/15/2019, 11:59:02 AM
MIT Licensed | Copyright © 2019-present Nishkal Kashyap