ChildNode

external interface ChildNode (source)

Platform and version requirements: JS

Exposes the JavaScript ChildNode to Kotlin

Functions

after

abstract fun after(vararg nodes: dynamic)

before

abstract fun before(vararg nodes: dynamic)

remove

abstract fun remove()

replaceWith

abstract fun replaceWith(vararg nodes: dynamic)

Inherited Functions

equals

open operator fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one. Implementations must fulfil the following requirements:

hashCode

open fun hashCode(): Int

Returns a hash code value for the object. The general contract of hashCode is:

toString

open fun toString(): String

Returns a string representation of the object.

Inheritors

CharacterData

abstract external class CharacterData : 
    Node,
    NonDocumentTypeChildNode,
    ChildNode

Exposes the JavaScript CharacterData to Kotlin

DocumentType

abstract external class DocumentType : Node, ChildNode

Exposes the JavaScript DocumentType to Kotlin

Element

abstract external class Element : 
    Node,
    ParentNode,
    NonDocumentTypeChildNode,
    ChildNode,
    Slotable,
    GeometryUtils,
    UnionElementOrProcessingInstruction,
    UnionElementOrHTMLCollection,
    UnionElementOrRadioNodeList,
    UnionElementOrMouseEvent

Exposes the JavaScript Element to Kotlin