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