happy-dom
Version:
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.
25 lines • 538 B
TypeScript
import File from '../file/File.cjs';
import DataTransferItem from './DataTransferItem.cjs';
/**
*
*/
export default class DataTransferItemList extends Array<DataTransferItem> {
/**
* Adds an item.
*
* @param item Item.
* @param type Type.
*/
add(item: File | string, type?: string): void;
/**
* Removes an item.
*
* @param index Index.
*/
remove(index: number): void;
/**
* Clears list.
*/
clear(): void;
}
//# sourceMappingURL=DataTransferItemList.d.ts.map