Liking cljdoc? Tell your friends :D

web.HTMLCollection

The HTMLCollection interface represents a generic collection object similar to arguments) of elements (in document order) offers methods and properties for selecting from the list.

The HTMLCollection interface represents a generic collection
object similar to `arguments`) of elements (in document order)
offers methods and properties for selecting from the list.
raw docstring

itemcljs

(item this index)

Method.

The web.HTMLCollection method item() returns the node located the specified offset into the collection.

var element = HTMLCollection.item(index)

See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLCollection/item

Method.

The `web.HTMLCollection` method item() returns the node located
the specified offset into the collection.

`var element = HTMLCollection.item(index)`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLCollection/item`
sourceraw docstring

lengthcljs

(length this)

Property.

Returns the number of items in the collection.

Property.

Returns the number of items in the collection.
sourceraw docstring

named-itemcljs

(named-item this & args)

Method.

Returns the specific node whose ID or, as a fallback, name matches string specified by name. Matching by name is only done as a resort, only in HTML, and only if the referenced element supports name attribute. Returns null if no node exists by the given name.

Method.

Returns the specific node whose ID or, as a fallback, name matches
string specified by name. Matching by name is only done as a
resort, only in HTML, and only if the referenced element supports
name attribute. Returns null if no node exists by the given name.
sourceraw docstring

set-length!cljs

(set-length! this val)

Property.

Returns the number of items in the collection.

Property.

Returns the number of items in the collection.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close