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