Clipboard ‹ Chocolat API

Clipboard.copy(value)

Copy a string into the clipboard so that it can be pasted later.

  • value String – the value to copy.

Clipboard.text()

Returns the last string that was copied to the clipboard.