Skip to main content
Module

x/evt/lib/types/index.ts>dom.FileList

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.FileList
import { type dom } from "https://deno.land/x/evt@v2.4.13/lib/types/index.ts";
const { FileList } = dom;

An object of this type is returned by the files property of the HTML element; this lets you access the list of files selected with the element. It's also used for a list of files dropped into web content when using the drag and drop API; see the DataTransfer object for details on this usage.

Index Signatures

[index: number]: File

Properties

readonly
length: number

Methods

item(index: number): File | null