Liking cljdoc? Tell your friends :D

web.NamedNodeMap

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.
raw docstring

get-named-itemcljs

(get-named-item this name)

Method.

The getNamedItem() method of the web.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.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`
sourceraw docstring

get-named-item-nscljs

(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.
sourceraw docstring

itemcljs

(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.
sourceraw docstring

lengthcljs

(length this)

Property.

Returns the amount of objects in the map.

Property.

Returns the amount of objects in the map.
sourceraw docstring

remove-named-itemcljs

(remove-named-item this & args)

Method.

Removes the Attr identified by the given map.

Method.

Removes the Attr identified by the given map.
sourceraw docstring

remove-named-item-nscljs

(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.
sourceraw docstring

set-length!cljs

(set-length! this val)

Property.

Returns the amount of objects in the map.

Property.

Returns the amount of objects in the map.
sourceraw docstring

set-named-itemcljs

(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
sourceraw docstring

set-named-item-nscljs

(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.
sourceraw docstring

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

× close