DataTransferItemList

abstract external class DataTransferItemList

Exposes the JavaScript DataTransferItemList to Kotlin

Constructors

DataTransferItemList
Link copied to clipboard
JS
fun DataTransferItemList()

Functions

add
Link copied to clipboard
JS
fun add(data: File): DataTransferItem?
fun add(data: String, type: String): DataTransferItem?
clear
Link copied to clipboard
JS
fun clear()
remove
Link copied to clipboard
JS
fun remove(index: Int)

Properties

length
Link copied to clipboard
JS
open val length: Int

Extensions

get
Link copied to clipboard
JS
inline operator fun DataTransferItemList.get(index: Int): DataTransferItem?