Skip to content

@ralphschuler.webgl shader factory.<internal>.HTMLAllCollection

github-actions edited this page Nov 26, 2023 · 1 revision

Interface: HTMLAllCollection

@ralphschuler/webgl-shader-factory.<internal>.HTMLAllCollection

MDN Reference

Indexable

▪ [index: number]: Element

Table of contents

Properties

Methods

Properties

length

Readonly length: number

Returns the number of elements in the collection.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9387

Methods

item

item(nameOrIndex?): null | Element | HTMLCollection

Returns the item with index index from the collection (determined by tree order).

MDN Reference

Parameters

Name Type
nameOrIndex? string

Returns

null | Element | HTMLCollection

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9393


namedItem

namedItem(name): null | Element | HTMLCollection

Returns the item with ID or name name from the collection.

If there are multiple matching items, then an HTMLCollection object containing all those elements is returned.

Only button, form, iframe, input, map, meta, object, select, and textarea elements can have a name for the purpose of this method; their name is given by the value of their name attribute.

MDN Reference

Parameters

Name Type
name string

Returns

null | Element | HTMLCollection

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9403

Typescript Libraries

Modules

Namespaces

Clone this wiki locally