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.
(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`
(length this)
Property.
Returns the number of items in the collection.
Property. Returns the number of items in the collection.
(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.
(set-length! this val)
Property.
Returns the number of items in the collection.
Property. Returns the number of items in the collection.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close