CharacterData

Exposes the JavaScript CharacterData to Kotlin

Constructors

Link copied to clipboard

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun addEventListener(    type: String,     callback: (Event) -> Unit?,     options: dynamic = definedExternally)
fun addEventListener(    type: String,     callback: EventListener?,     options: dynamic = definedExternally)
Link copied to clipboard
abstract fun after(vararg nodes: dynamic)
Link copied to clipboard
fun appendChild(node: Node): Node
Link copied to clipboard
fun appendData(data: String)
Link copied to clipboard
abstract fun before(vararg nodes: dynamic)
Link copied to clipboard
fun cloneNode(deep: Boolean = definedExternally): Node
Link copied to clipboard
Link copied to clipboard
fun contains(other: Node?): Boolean
Link copied to clipboard
fun deleteData(offset: Int, count: Int)
Link copied to clipboard
fun dispatchEvent(event: Event): Boolean
Link copied to clipboard
fun getRootNode(options: GetRootNodeOptions = definedExternally): Node
Link copied to clipboard
fun hasChildNodes(): Boolean
Link copied to clipboard
fun insertBefore(node: Node, child: Node?): Node
Link copied to clipboard
fun insertData(offset: Int, data: String)
Link copied to clipboard
fun isDefaultNamespace(namespace: String?): Boolean
Link copied to clipboard
fun isEqualNode(otherNode: Node?): Boolean
Link copied to clipboard
fun isSameNode(otherNode: Node?): Boolean
Link copied to clipboard
Link copied to clipboard
fun lookupPrefix(namespace: String?): String?
Link copied to clipboard
fun normalize()
Link copied to clipboard
abstract fun remove()
Link copied to clipboard
fun removeChild(child: Node): Node
Link copied to clipboard
fun removeEventListener(    type: String,     callback: (Event) -> Unit?,     options: dynamic = definedExternally)
fun removeEventListener(    type: String,     callback: EventListener?,     options: dynamic = definedExternally)
Link copied to clipboard
fun replaceChild(node: Node, child: Node): Node
Link copied to clipboard
fun replaceData(    offset: Int,     count: Int,     data: String)
Link copied to clipboard
abstract fun replaceWith(vararg nodes: dynamic)
Link copied to clipboard
fun substringData(offset: Int, count: Int): String

Properties

Link copied to clipboard
open val baseURI: String
Link copied to clipboard
Link copied to clipboard
open var data: String
Link copied to clipboard
open val firstChild: Node?
Link copied to clipboard
open val isConnected: Boolean
Link copied to clipboard
open val lastChild: Node?
Link copied to clipboard
open val length: Int
Link copied to clipboard
Link copied to clipboard
open val nextSibling: Node?
Link copied to clipboard
open val nodeName: String
Link copied to clipboard
open val nodeType: Short
Link copied to clipboard
open var nodeValue: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val parentNode: Node?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var textContent: String?

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Extensions

Link copied to clipboard
inline fun Node.clear()
fun Node.clear()

Removes all the children from this node.

Link copied to clipboard
val Node.isElement: Boolean
val Node.isElement: Boolean

Gets a value indicating whether this node is an Element.

Link copied to clipboard
val Node.isText: Boolean
val Node.isText: Boolean

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