NamedNodeMap

abstract external class NamedNodeMap : ItemArrayLike<Attr>

Exposes the JavaScript NamedNodeMap to Kotlin

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
fun getNamedItem(qualifiedName: String): Attr?
Link copied to clipboard
fun getNamedItemNS(namespace: String?, localName: String): Attr?
Link copied to clipboard
open override fun item(index: Int): Attr?
Link copied to clipboard
fun removeNamedItem(qualifiedName: String): Attr
Link copied to clipboard
fun removeNamedItemNS(namespace: String?, localName: String): Attr
Link copied to clipboard
fun setNamedItem(attr: Attr): Attr?
Link copied to clipboard
fun setNamedItemNS(attr: Attr): Attr?

Properties

Link copied to clipboard
abstract val length: Int

Extensions

Link copied to clipboard

Returns the view of this ItemArrayLike<T> collection as List<T>

Link copied to clipboard
inline operator fun NamedNodeMap.get(index: Int): Attr?
inline operator fun NamedNodeMap.get(qualifiedName: String): Attr?