Package-level declarations

Types

Link copied to clipboard
typealias MutationCallback = (mutations: ReadonlyArray<MutationRecord>, observer: MutationObserver) -> Unit
Link copied to clipboard
open class MutationObserver(callback: MutationCallback)

The MutationObserver interface provides the ability to watch for changes being made to the DOM tree.

Link copied to clipboard
Link copied to clipboard

The MutationRecord is a read-only interface that represents an individual DOM mutation observed by a MutationObserver.

Link copied to clipboard
sealed interface MutationRecordType