CharacterData

Exposes the JavaScript CharacterData to Kotlin

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

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
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?

Functions

Link copied to clipboard
fun addEventListener(type: String, callback: (Event) -> Unit?)
fun addEventListener(type: String, callback: EventListener?)
fun addEventListener(type: String, callback: (Event) -> Unit?, options: Boolean)
fun addEventListener(type: String, callback: (Event) -> Unit?, options: AddEventListenerOptions)
fun addEventListener(type: String, callback: EventListener?, options: Boolean)
Link copied to clipboard
abstract fun after(vararg nodes: String)
abstract fun after(vararg nodes: Node)
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: String)
abstract fun before(vararg nodes: Node)
Link copied to clipboard
fun Node.clear()

Removes all the children from this node.

Link copied to clipboard
fun cloneNode(deep: Boolean): 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
Link copied to clipboard
Link copied to clipboard
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
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?)
fun removeEventListener(type: String, callback: (Event) -> Unit?, options: Boolean)
fun removeEventListener(type: String, callback: (Event) -> Unit?, options: EventListenerOptions)
fun removeEventListener(type: String, callback: EventListener?, options: Boolean)
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: String)
abstract fun replaceWith(vararg nodes: Node)
Link copied to clipboard
fun substringData(offset: Int, count: Int): String