HTMLCollection
Extends:
Array → HTMLCollection
Class provides interface for HTLMCollection. Used in getElementsByTagName etc.
Constructor Summary
Public Constructor | ||
public |
constructor(parent: *, selector: *) |
Method Summary
Public Methods | ||
public |
item(index: number): HTMLElement | null Returns the specific node at the given zero-based index into the list. |
Public Constructors
public constructor(parent: *, selector: *) source
Params:
Name | Type | Attribute | Description |
parent | * | ||
selector | * |
Public Methods
public item(index: number): HTMLElement | null source
Returns the specific node at the given zero-based index into the list. Returns null if the index is out of range.
Params:
Name | Type | Attribute | Description |
index | number |