DocumentFragment
Constructors
<init>
Exposes the JavaScript DocumentFragment to Kotlin
DocumentFragment()
Properties
childElementCount
open val childElementCount: Int
children
open val children: HTMLCollection
firstElementChild
open val firstElementChild: Element?
lastElementChild
open val lastElementChild: Element?
Functions
append
open fun append(vararg nodes: dynamic)
getElementById
open fun getElementById(elementId: String): Element?
prepend
open fun prepend(vararg nodes: dynamic)
querySelector
open fun querySelector(selectors: String): Element?
querySelectorAll
open fun querySelectorAll(selectors: String): NodeList
Companion Object Properties
ATTRIBUTE_NODE
val ATTRIBUTE_NODE: Short
CDATA_SECTION_NODE
val CDATA_SECTION_NODE: Short
COMMENT_NODE
val COMMENT_NODE: Short
DOCUMENT_FRAGMENT_NODE
val DOCUMENT_FRAGMENT_NODE: Short
DOCUMENT_NODE
val DOCUMENT_NODE: Short
DOCUMENT_POSITION_CONTAINED_BY
val DOCUMENT_POSITION_CONTAINED_BY: Short
DOCUMENT_POSITION_CONTAINS
val DOCUMENT_POSITION_CONTAINS: Short
DOCUMENT_POSITION_DISCONNECTED
val DOCUMENT_POSITION_DISCONNECTED: Short
DOCUMENT_POSITION_FOLLOWING
val DOCUMENT_POSITION_FOLLOWING: Short
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
val DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: Short
DOCUMENT_POSITION_PRECEDING
val DOCUMENT_POSITION_PRECEDING: Short
DOCUMENT_TYPE_NODE
val DOCUMENT_TYPE_NODE: Short
ELEMENT_NODE
val ELEMENT_NODE: Short
ENTITY_NODE
val ENTITY_NODE: Short
ENTITY_REFERENCE_NODE
val ENTITY_REFERENCE_NODE: Short
NOTATION_NODE
val NOTATION_NODE: Short
PROCESSING_INSTRUCTION_NODE
val PROCESSING_INSTRUCTION_NODE: Short
TEXT_NODE
val TEXT_NODE: Short
Inheritors
ShadowRoot
Exposes the JavaScript ShadowRoot to Kotlin
open class ShadowRoot :
DocumentFragment,
DocumentOrShadowRoot