Skip to content

MutationObserverAPI

Types

mutationObserver

type mutationObserver

Module

There are methods and helpers defined in MutationObserver .

mutationObserverCallback

type mutationObserverCallback = (
array<WebAPI.DOMAPI.mutationRecord>,
mutationObserver,
) => unit

mutationObserverInit

type mutationObserverInit = {
mutable childList?: bool,
mutable attributes?: bool,
mutable characterData?: bool,
mutable subtree?: bool,
mutable attributeOldValue?: bool,
mutable characterDataOldValue?: bool,
mutable attributeFilter?: array<string>,
}

Record fields

childList
option< bool >
attributes
option< bool >
characterData
option< bool >
subtree
option< bool >
attributeOldValue
option< bool >
characterDataOldValue
option< bool >
attributeFilter
option< array< string > >