Interface HTMLCollectionOf<T>

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

    Type Parameters

    Hierarchy

    Indexable

    • [index: number]: T

    Properties

    Methods

    Properties

    length: number

    Sets or retrieves the number of objects in a collection.

    MDN Reference

    Methods

    • Parameters

      • name: string

      Returns T