class js.html.NamedNodeMap

Available on js

A collection of nodes returned by Element.attributes (also potentially for DocumentType.entities, DocumentType.notations). NamedNodeMaps are not in any particular order (unlike NodeList), although they may be accessed by an index as in an array (they may also be accessed with the item() method). A NamedNodeMap object are live and will thus be auto-updated if changes are made to their contents internally or elsewhere.

Documentation for this class was provided by MDN.

Instance Fields

function getNamedItem(name:String):Node

function getNamedItemNS(?namespaceURI:String, localName:String):Node

function item(index:Int):Node

function removeNamedItem(name:String):Node

function removeNamedItemNS(?namespaceURI:String, localName:String):Node

function setNamedItem(node:Node):Node

function setNamedItemNS(node:Node):Node