The NamedNodeMap interface represents a collection of web.Attr
Objects inside a NamedNodeMap are not in any particular order,
web.NodeList
, although they may be accessed by an index as
an array.
The NamedNodeMap interface represents a collection of `web.Attr` Objects inside a NamedNodeMap are not in any particular order, `web.NodeList`, although they may be accessed by an index as an array.
(get-named-item this name)
Method.
The getNamedItem() method of the web.other.NamedNodeMap
interface
the web.Attr
corresponding to the given name, or null if there
no corresponding attribute.
myAttr = attrs.getNamedItem(name)
See also: https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/getNamedItem
Method. The getNamedItem() method of the `web.other.NamedNodeMap` interface the `web.Attr` corresponding to the given name, or null if there no corresponding attribute. `myAttr = attrs.getNamedItem(name)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/getNamedItem`
(get-named-item-ns this & args)
Method.
Returns a Attr identified by a namespace and related local name.
Method. Returns a Attr identified by a namespace and related local name.
(item this & args)
Method.
Returns the Attr at the given index, or null if the index is or equal to the number of nodes.
Method. Returns the Attr at the given index, or null if the index is or equal to the number of nodes.
(length this)
Property.
Returns the amount of objects in the map.
Property. Returns the amount of objects in the map.
(remove-named-item this & args)
Method.
Removes the Attr identified by the given map.
Method. Removes the Attr identified by the given map.
(remove-named-item-ns this & args)
Method.
Removes the Attr identified by the given namespace and related name.
Method. Removes the Attr identified by the given namespace and related name.
(set-length! this val)
Property.
Returns the amount of objects in the map.
Property. Returns the amount of objects in the map.
(set-named-item this & args)
Method.
Replaces, or adds, the Attr identified in the map by the given
Method. Replaces, or adds, the Attr identified in the map by the given
(set-named-item-ns this & args)
Method.
Replaces, or adds, the Attr identified in the map by the given and related local name.
Method. Replaces, or adds, the Attr identified in the map by the given and related local name.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close