Interface DataTransferItemList

    interface DataTransferItemList {
        length: number;
        [iterator](): ArrayIterator<DataTransferItem>;
        add(data: string, type: string): DataTransferItem;
        add(data: File): DataTransferItem;
        clear(): void;
        remove(index: number): void;
        [index: number]: DataTransferItem;
    }

    Indexable

    Properties

    Methods

    Properties

    length: number

    Returns the number of items in the drag data store.

    MDN Reference

    Methods

    • Removes all the entries in the drag data store.

      MDN Reference

      Returns void

    • Removes the indexth entry in the drag data store.

      MDN Reference

      Parameters

      • index: number

      Returns void