NamedNodeMap
interface represents a collection of Attr
objects. Objects inside a NamedNodeMap
are not in any particular order, unlike NodeList
, although they may be accessed by an index as in an array.NamedNodeMap
object is live and will thus be auto-updated if changes are made to its contents internally or elsewhere.Returns the amount of objects in the map.
Promise<number>
Returns a Attr
, corresponding to the given name.
string
. name
is the name of the desired attributePromise<Attr>
Returns a Attr
identified by a namespace and related local name.
string
. Needs content.string
. Needs content.Promise<Attr>
Returns the Attr
at the given index, or null
if the index is higher or equal to the number of nodes.
number
. Needs content.Promise<Attr>
removeNamedItem() | removeNamedItemNS() |
setNamedItem() | setNamedItemNS() |