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

Hierarchy

  • HTMLCollectionBase
    • HTMLCollection

Properties

Methods

Properties

length: number

Sets or retrieves the number of objects in a collection.

Methods

  • Retrieves an object from various collections.

    Parameters

    • index: number

    Returns Element

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

    Parameters

    • name: string

    Returns Element

Generated using TypeDoc