Liking cljdoc? Tell your friends :D
ClojureScript only.

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

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

× close