kotlin-stdlib
JS
kotlin-stdlib
/
org.w3c.dom
/
DataTransfer
Data
Transfer
JS
abstract
external
class
DataTransfer
Exposes the JavaScript
DataTransfer
to Kotlin
Constructors
Functions
Properties
Constructors
Data
Transfer
Link copied to clipboard
JS
fun
DataTransfer
(
)
Functions
clear
Data
Link copied to clipboard
JS
fun
clearData
(
format
:
String
=
definedExternally
)
get
Data
Link copied to clipboard
JS
fun
getData
(
format
:
String
)
:
String
set
Data
Link copied to clipboard
JS
fun
setData
(
format
:
String
,
data
:
String
)
set
Drag
Image
Link copied to clipboard
JS
fun
setDragImage
(
image
:
Element
,
x
:
Int
,
y
:
Int
)
Properties
drop
Effect
Link copied to clipboard
JS
open
var
dropEffect
:
String
effect
Allowed
Link copied to clipboard
JS
open
var
effectAllowed
:
String
files
Link copied to clipboard
JS
open
val
files
:
FileList
items
Link copied to clipboard
JS
open
val
items
:
DataTransferItemList
types
Link copied to clipboard
JS
open
val
types
:
Array
<
out
String
>