Attr

abstract external class Attr : Node(source)

Exposes the JavaScript Attr to Kotlin

Since Kotlin

1.1

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion
Since Kotlin 1.1

Properties

Link copied to clipboard
open val baseURI: String
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
open val firstChild: Node?
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard

Gets a value indicating whether this node is an Element.

Since Kotlin 1.1

Gets a value indicating whether this node is an Element.

Since Kotlin 1.4
Link copied to clipboard

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

Since Kotlin 1.1

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

Since Kotlin 1.4
Link copied to clipboard
open val lastChild: Node?
Since Kotlin 1.1
Link copied to clipboard
open val localName: String
Since Kotlin 1.1
Link copied to clipboard
open val name: String
Since Kotlin 1.1
Link copied to clipboard
open val namespaceURI: String?
Since Kotlin 1.1
Link copied to clipboard
open val nextSibling: Node?
Since Kotlin 1.1
Link copied to clipboard
open val nodeName: String
Since Kotlin 1.1
Link copied to clipboard
open val nodeType: Short
Since Kotlin 1.1
Link copied to clipboard
open var nodeValue: String?
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
open val parentNode: Node?
Since Kotlin 1.1
Link copied to clipboard
open val prefix: String?
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
open val specified: Boolean
Since Kotlin 1.1
Link copied to clipboard
open var textContent: String?
Since Kotlin 1.1
Link copied to clipboard
open var value: String
Since Kotlin 1.1

Functions

Link copied to clipboard
fun addEventListener(type: String, callback: (Event) -> Unit?, options: dynamic = definedExternally)
fun addEventListener(type: String, callback: EventListener?, options: dynamic = definedExternally)
Since Kotlin 1.1
Link copied to clipboard
fun appendChild(node: Node): Node
Since Kotlin 1.1
Link copied to clipboard
inline fun Node.clear()

Removes all the children from this node.

Since Kotlin 1.1
fun Node.clear()

Removes all the children from this node.

Since Kotlin 1.4
Link copied to clipboard
fun cloneNode(deep: Boolean = definedExternally): Node
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
fun contains(other: Node?): Boolean
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
fun getRootNode(options: GetRootNodeOptions = definedExternally): Node
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
fun insertBefore(node: Node, child: Node?): Node
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
fun isEqualNode(otherNode: Node?): Boolean
Since Kotlin 1.1
Link copied to clipboard
fun isSameNode(otherNode: Node?): Boolean
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
fun lookupPrefix(namespace: String?): String?
Since Kotlin 1.1
Link copied to clipboard
fun normalize()
Since Kotlin 1.1
Link copied to clipboard
fun removeChild(child: Node): Node
Since Kotlin 1.1
Link copied to clipboard
fun removeEventListener(type: String, callback: (Event) -> Unit?, options: dynamic = definedExternally)
fun removeEventListener(type: String, callback: EventListener?, options: dynamic = definedExternally)
Since Kotlin 1.1
Link copied to clipboard
fun replaceChild(node: Node, child: Node): Node
Since Kotlin 1.1