Clipboard

interface Clipboard(source)

The clipboard provides read and write access to the system's clipboard.

Online Documentation

Functions

Link copied to clipboard
abstract fun readText(): PromiseLike<JsString>

Read the current clipboard contents as text.

Link copied to clipboard
abstract fun writeText(value: String): PromiseLike<Void?>

Writes text into the clipboard.