Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/gauntlet/imports/happy_dom.ts>MutationObserver

Work-in-progress front-end tool which does put a smile on my face
Latest
class MutationObserver
Re-export
import { MutationObserver } from "https://deno.land/x/gauntlet@v0.0.9/imports/happy_dom.ts";

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

Constructors

new
MutationObserver(callback: (records: MutationRecord[]) => void)

Constructor.

Properties

private
callback
private
listener
private
target

Methods

disconnect(): void

Disconnects.

observe(target: INode, options: IMutationObserverInit): void

Starts observing.

Takes records.