NamedNodeMap

JS
1.1
abstract class NamedNodeMap : ItemArrayLike<Attr>
(source)

Exposes the JavaScript NamedNodeMap to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript NamedNodeMap to Kotlin

NamedNodeMap()

Functions

JS
1.1

getNamedItem

fun getNamedItem(qualifiedName: String): Attr?
JS
1.1

getNamedItemNS

fun getNamedItemNS(
    namespace: String?,
    localName: String
): Attr?
JS
1.1

item

open fun item(index: Int): Attr?
JS
1.1

removeNamedItem

fun removeNamedItem(qualifiedName: String): Attr
JS
1.1

removeNamedItemNS

fun removeNamedItemNS(
    namespace: String?,
    localName: String
): Attr
JS
1.1

setNamedItem

fun setNamedItem(attr: Attr): Attr?
JS
1.1

setNamedItemNS

fun setNamedItemNS(attr: Attr): Attr?

Extension Functions

JS
1.1

asList

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

fun <T> ItemArrayLike<T>.asList(): List<T>
JS
1.1

get

operator fun NamedNodeMap.get(index: Int): Attr?
operator fun NamedNodeMap.get(qualifiedName: String): Attr?