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.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- NamedNodeMap
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new NamedNodeMap()
Value Members
-
def
apply(index: Int): Attr
- Annotations
- @JSBracketAccess()
- def getNamedItem(name: String): Attr
- def getNamedItemNS(namespaceURI: String, localName: String): Attr
-
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- def item(index: Int): Attr
- def length: Int
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- def removeNamedItem(name: String): Attr
- def removeNamedItemNS(namespaceURI: String, localName: String): Attr
- def setNamedItem(arg: Attr): Attr
- def setNamedItemNS(arg: Attr): Attr
-
def
toLocaleString(): String
- Definition Classes
- Object
-
def
update(index: Int, v: Attr): Unit
- Annotations
- @JSBracketAccess()
-
def
valueOf(): Any
- Definition Classes
- Object