DocumentFragment

JS
1.1
open class DocumentFragment : 
    Node,
    NonElementParentNode,
    ParentNode

(source)

Exposes the JavaScript DocumentFragment to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript DocumentFragment to Kotlin

DocumentFragment()

Properties

JS
1.1

childElementCount

open val childElementCount: Int
JS
1.1

children

open val children: HTMLCollection
JS
1.1

firstElementChild

open val firstElementChild: Element?
JS
1.1

lastElementChild

open val lastElementChild: Element?

Functions

JS
1.1

append

open fun append(vararg nodes: dynamic)
JS
1.1

getElementById

open fun getElementById(elementId: String): Element?
JS
1.1

prepend

open fun prepend(vararg nodes: dynamic)
JS
1.1

querySelector

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

querySelectorAll

open fun querySelectorAll(selectors: String): NodeList

Companion Object Properties

JS
1.1

ATTRIBUTE_NODE

val ATTRIBUTE_NODE: Short
JS
1.1

CDATA_SECTION_NODE

val CDATA_SECTION_NODE: Short
JS
1.1

COMMENT_NODE

val COMMENT_NODE: Short
JS
1.1

DOCUMENT_FRAGMENT_NODE

val DOCUMENT_FRAGMENT_NODE: Short
JS
1.1

DOCUMENT_NODE

val DOCUMENT_NODE: Short
JS
1.1

DOCUMENT_POSITION_CONTAINED_BY

val DOCUMENT_POSITION_CONTAINED_BY: Short
JS
1.1

DOCUMENT_POSITION_CONTAINS

val DOCUMENT_POSITION_CONTAINS: Short
JS
1.1

DOCUMENT_POSITION_DISCONNECTED

val DOCUMENT_POSITION_DISCONNECTED: Short
JS
1.1

DOCUMENT_POSITION_FOLLOWING

val DOCUMENT_POSITION_FOLLOWING: Short
JS
1.1

DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC

val DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: Short
JS
1.1

DOCUMENT_POSITION_PRECEDING

val DOCUMENT_POSITION_PRECEDING: Short
JS
1.1

DOCUMENT_TYPE_NODE

val DOCUMENT_TYPE_NODE: Short
JS
1.1

ELEMENT_NODE

val ELEMENT_NODE: Short
JS
1.1

ENTITY_NODE

val ENTITY_NODE: Short
JS
1.1

ENTITY_REFERENCE_NODE

val ENTITY_REFERENCE_NODE: Short
JS
1.1

NOTATION_NODE

val NOTATION_NODE: Short
JS
1.1

PROCESSING_INSTRUCTION_NODE

val PROCESSING_INSTRUCTION_NODE: Short
JS
1.1

TEXT_NODE

val TEXT_NODE: Short

Inheritors

JS
1.1

ShadowRoot

Exposes the JavaScript ShadowRoot to Kotlin

open class ShadowRoot : 
    DocumentFragment,
    DocumentOrShadowRoot