FileList

abstract external class FileList : ItemArrayLike<File> (source)

Platform and version requirements: JS

Exposes the JavaScript FileList to Kotlin

Constructors

<init>

FileList()

Exposes the JavaScript FileList to Kotlin

Properties

length

open val length: Int

Functions

item

open fun item(index: Int): File?

Extension Functions

asList

fun <T> ItemArrayLike<T>.asList(): List<T>

Returns the view of this ItemArrayLike<T> collection as List<T>

get

operator fun FileList.get(index: Int): File?