Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

HTMLCollectionBase

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

interface HTMLCollectionBase {
[index: number]: Element;
readonly length: number;
[[Symbol.iterator]](): IterableIterator<Element>;
item(index: number): Element | null;
}

§Index Signatures

§
[index: number]: Element

§Properties

§
readonly length: number
[src]

Sets or retrieves the number of objects in a collection.

§Methods

§
[[Symbol.iterator]](): IterableIterator<Element>
[src]
§
item(index: number): Element | null
[src]

Retrieves an object from various collections.