DataTransfer

JS
1.1
abstract class DataTransfer

Exposes the JavaScript DataTransfer to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript DataTransfer to Kotlin

DataTransfer()

Properties

JS
1.1

dropEffect

open var dropEffect: String
JS
1.1

effectAllowed

open var effectAllowed: String
JS
1.1

files

open val files: FileList
JS
1.1

items

open val items: DataTransferItemList
JS
1.1

types

open val types: Array<out String>

Functions

JS
1.1

clearData

fun clearData(format: String = definedExternally)
JS
1.1

getData

fun getData(format: String): String
JS
1.1

setData

fun setData(format: String, data: String)
JS
1.1

setDragImage

fun setDragImage(image: Element, x: Int, y: Int)