Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>dom.MutationObserverInit

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.MutationObserverInit
import { type dom } from "https://deno.land/x/evt@v2.4.16/lib/types/index.ts";
const { MutationObserverInit } = dom;

Properties

optional
attributeFilter: string[]

Set to a list of attribute local names (without namespace) if not all attribute mutations need to be observed and attributes is true or omitted.

optional
attributeOldValue: boolean

Set to true if attributes is true or omitted and target's attribute value before the mutation needs to be recorded.

optional
attributes: boolean

Set to true if mutations to target's attributes are to be observed. Can be omitted if attributeOldValue or attributeFilter is specified.

optional
characterData: boolean

Set to true if mutations to target's data are to be observed. Can be omitted if characterDataOldValue is specified.

optional
characterDataOldValue: boolean

Set to true if characterData is set to true or omitted and target's data before the mutation needs to be recorded.

optional
childList: boolean

Set to true if mutations to target's children are to be observed.

optional
subtree: boolean

Set to true if mutations to not just target, but also target's descendants are to be observed.