Attr

JS
1.1
abstract class Attr : Node

Exposes the JavaScript Attr to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript Attr to Kotlin

Attr()

Properties

JS
1.1

localName

open val localName: String
JS
1.1

name

open val name: String
JS
1.1

namespaceURI

open val namespaceURI: String?
JS
1.1

ownerElement

open val ownerElement: Element?
JS
1.1

prefix

open val prefix: String?
JS
1.1

specified

open val specified: Boolean
JS
1.1

value

open var value: String

Extension Properties

JS
1.1

isElement

Gets a value indicating whether this node is an Element.

val Node.isElement: Boolean
JS
1.1

isText

Gets a value indicating whether this node is a TEXT_NODE or a CDATA_SECTION_NODE.

val Node.isText: Boolean

Extension Functions

JS
1.1

clear

Removes all the children from this node.

fun Node.clear()