ParentNode

JS
1.1
interface ParentNode

Exposes the JavaScript ParentNode to Kotlin

Properties

JS
1.1

childElementCount

abstract val childElementCount: Int
JS
1.1

children

abstract val children: HTMLCollection
JS
1.1

firstElementChild

open val firstElementChild: Element?
JS
1.1

lastElementChild

open val lastElementChild: Element?

Functions

JS
1.1

append

abstract fun append(vararg nodes: dynamic)
JS
1.1

prepend

abstract fun prepend(vararg nodes: dynamic)
JS
1.1

querySelector

abstract fun querySelector(selectors: String): Element?
JS
1.1

querySelectorAll

abstract fun querySelectorAll(selectors: String): NodeList

Inheritors

JS
1.1

Document

Exposes the JavaScript Document to Kotlin

open class Document : 
    Node,
    GlobalEventHandlers,
    DocumentAndElementEventHandlers,
    NonElementParentNode,
    DocumentOrShadowRoot,
    ParentNode,
    GeometryUtils
JS
1.1

DocumentFragment

Exposes the JavaScript DocumentFragment to Kotlin

open class DocumentFragment : 
    Node,
    NonElementParentNode,
    ParentNode
JS
1.1

Element

Exposes the JavaScript Element to Kotlin

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