Skip to content

HTMLCollection

Values

item

Retrieves an object from various collections. Read more on MDN

let item: (DomTypes.htmlCollection<'t>, int) => 't

Parameters

DomTypes.htmlCollection

Return type

int

namedItem

Retrieves a select object or an object from an options collection. Read more on MDN

let namedItem: (DomTypes.htmlCollection<'t>, string) => 't

Parameters

DomTypes.htmlCollection

Return type

string