DataTransfer

abstract external class DataTransfer

Exposes the JavaScript DataTransfer to Kotlin

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
fun clearData(format: String = definedExternally)
Link copied to clipboard
fun getData(format: String): String
Link copied to clipboard
fun setData(format: String, data: String)
Link copied to clipboard
fun setDragImage(    image: Element,     x: Int,     y: Int)

Properties

Link copied to clipboard
open var dropEffect: String
Link copied to clipboard
Link copied to clipboard
open val files: FileList
Link copied to clipboard
Link copied to clipboard
open val types: Array<out String>