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

x/evt/lib/types/lib.dom.ts>MutationEvent

💧EventEmitter's typesafe replacement
Go to Latest
interface MutationEvent
implements Event
import { type MutationEvent } from "https://deno.land/x/evt@v2.5.6/lib/types/lib.dom.ts";

Provides event properties that are specific to modifications to the Document Object Model (DOM) hierarchy and nodes.

Properties

readonly
attrChange: number
readonly
attrName: string
readonly
newValue: string
readonly
prevValue: string
readonly
relatedNode: Node
readonly
ADDITION: number
readonly
MODIFICATION: number
readonly
REMOVAL: number

Methods

initMutationEvent(
typeArg: string,
canBubbleArg: boolean,
cancelableArg: boolean,
relatedNodeArg: Node,
prevValueArg: string,
newValueArg: string,
attrNameArg: string,
attrChangeArg: number,
): void