MutationObserver

JS
1.1
open class MutationObserver

Exposes the JavaScript MutationObserver to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript MutationObserver to Kotlin

MutationObserver(
    callback: (Array<MutationRecord>, MutationObserver) -> Unit)

Functions

JS
1.1

disconnect

fun disconnect()
JS
1.1

observe

fun observe(
    target: Node,
    options: MutationObserverInit = definedExternally)
JS
1.1

takeRecords

fun takeRecords(): Array<MutationRecord>