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

Fields

writeText(value:String):Thenable<Void>

Writes text into the clipboard.

Returns:

A thenable that resolves when writing happened.

readText():Thenable<String>

Read the current clipboard contents as text.

Returns:

A thenable that resolves to a string.