Clipboard

JS
1.1
abstract class Clipboard : EventTarget

Exposes the JavaScript Clipboard to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript Clipboard to Kotlin

Clipboard()

Functions

JS
1.1

read

fun read(): Promise<DataTransfer>
JS
1.1

readText

fun readText(): Promise<String>
JS
1.1

write

fun write(data: DataTransfer): Promise<Unit>
JS
1.1

writeText

fun writeText(data: String): Promise<Unit>