NamedNodeMap

@native @JSGlobal @JSType
class NamedNodeMap extends Object

A collection of nodes returned by Node.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.

Companion:
object
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Concrete methods

@JSBracketAccess
def apply(index: Int): Attr
def getNamedItem(name: String): Attr
def getNamedItemNS(namespaceURI: String, localName: String): Attr
def item(index: Int): Attr
def length: Int
def removeNamedItem(name: String): Attr
def removeNamedItemNS(namespaceURI: String, localName: String): Attr
@JSBracketAccess
def update(index: Int, v: Attr): Unit

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from:
Object
def isPrototypeOf(v: Object): Boolean
Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from:
Object
def toLocaleString(): String
Inherited from:
Object
def valueOf(): Any
Inherited from:
Object