NamedNodeMap class

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.

MDN Reference

Available extensions
Annotations
  • @JS.new()
  • @staticInterop

Constructors

NamedNodeMap()
factory

Properties

getNamedItem ↔ Attr? Function(String)

Available on NamedNodeMap, provided by the NamedNodeMap$Typings extension

getter/setter pair
getNamedItemNS ↔ Attr? Function(String, [String?])

Available on NamedNodeMap, provided by the NamedNodeMap$Typings extension

getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
item ↔ Attr? Function(num)

Available on NamedNodeMap, provided by the NamedNodeMap$Typings extension

getter/setter pair
length → num

Available on NamedNodeMap, provided by the NamedNodeMap$Typings extension

MDN Reference
no setter
removeNamedItem ↔ Attr Function(String)

Available on NamedNodeMap, provided by the NamedNodeMap$Typings extension

getter/setter pair
removeNamedItemNS ↔ Attr Function(String, [String?])

Available on NamedNodeMap, provided by the NamedNodeMap$Typings extension

getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
setNamedItem ↔ Attr? Function(Attr)

Available on NamedNodeMap, provided by the NamedNodeMap$Typings extension

getter/setter pair
setNamedItemNS ↔ Attr? Function(Attr)

Available on NamedNodeMap, provided by the NamedNodeMap$Typings extension

getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited
operator [](num index) → Attr

Available on NamedNodeMap, provided by the NamedNodeMap$Typings extension

operator []=(num index, Attr value) → void

Available on NamedNodeMap, provided by the NamedNodeMap$Typings extension