Interface HTMLCollection

    interface HTMLCollection {
        length: number;
        [iterator](): ArrayIterator<Element>;
        item(index: number): Element;
        namedItem(name: string): Element;
    }
    Hierarchy

    Properties

    Methods

    Properties

    length: number

    Sets or retrieves the number of objects in a collection.

    MDN Reference

    Methods

    • Retrieves a select object or an object from an options collection.

      MDN Reference

      Parameters

      • name: string

      Returns Element