@nextcloud/dialogs
    Preparing search index...

    Interface FileList

    The FileList interface represents an object of this type returned by the files property of the HTML input element; this lets you access the list of files selected with the <input type='file'> element.

    MDN Reference

    interface FileList {
        length: number;
        item(index: number): null | File;
        [index: number]: File;
    }

    Indexable

    • [index: number]: File
    Index

    Properties

    Methods

    Properties

    length: number

    The length read-only property of the FileList interface returns the number of files in the FileList.

    MDN Reference

    Methods

    • The item() method of the FileList interface returns a File object representing the file at the specified index in the file list.

      MDN Reference

      Parameters

      • index: number

      Returns null | File