DataTransfer

abstract class DataTransfer : JsAny

Exposes the JavaScript DataTransfer to Kotlin

Constructors

Link copied to clipboard
constructor()

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: JsArray<out JsString>

Functions

Link copied to clipboard
fun clearData(format: String)
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)