← Docs
kotlin-stdlib / org.w3c.dom.clipboard / Clipboard

Clipboard

JS
1.1
abstract class Clipboard : EventTarget
(source)

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 >
Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .