Module

x/evt/lib/index.ts

šŸ’§EventEmitter's typesafe replacement
Go to Latest
interface dom.MutationEvent
implements Event
import { type dom } from "https://deno.land/x/evt@v2.3.1/lib/index.ts";
const { MutationEvent } = dom;

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