DataTransferItem

abstract external class DataTransferItem(source)

Exposes the JavaScript DataTransferItem to Kotlin

Since Kotlin

1.1

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open val kind: String
Since Kotlin 1.1
Link copied to clipboard
open val type: String
Since Kotlin 1.1

Functions

Link copied to clipboard
fun getAsFile(): File?
Since Kotlin 1.1
Link copied to clipboard
fun getAsString(_callback: (String) -> Unit?)
Since Kotlin 1.1