HTMLCollection
interface HTMLCollection {
length: number;
item(index: number): null | Element;
namedItem(name: string): null | Element;
"[iterator]"(): ArrayIterator<Element>;
[index: number]: Element;
}
length: number;
item(index: number): null | Element;
namedItem(name: string): null | Element;
"[iterator]"(): ArrayIterator<Element>;
[index: number]: Element;
}
Hierarchy
- HTMLCollectionBase
- HTMLCollection
Indexable
Index
Properties
Methods
Methods
item
named Item
[iterator]
"[iterator]"(): ArrayIterator<Element>
Sets or retrieves the number of objects in a collection.
MDN Reference