Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface HTMLCollectionBase

Package version

A generic collection (array-like object similar to arguments) of elements (in document order) and offers methods and properties for selecting from the list.

Hierarchy

Indexable

[index: number]: Element

A generic collection (array-like object similar to arguments) of elements (in document order) and offers methods and properties for selecting from the list.

Index

Properties

Methods

Properties

length

length: number

Sets or retrieves the number of objects in a collection.

Methods

item

  • item(index: number): Element | null
  • Retrieves an object from various collections.

    Parameters

    • index: number

    Returns Element | null

Generated using TypeDoc