import { type dom } from "https://deno.land/x/evt@v2.5.3/mod.ts";
const { MutationRecord } = dom;
A MutationRecord represents an individual DOM mutation. It is the object that is passed to MutationObserver's callback.
Properties
Return the previous and next sibling respectively of the added or removed nodes, and null otherwise.
The return value depends on type. For "attributes", it is the value of the changed attribute before the change. For "characterData", it is the data of the changed node before the change. For "childList", it is null.
Return the previous and next sibling respectively of the added or removed nodes, and null otherwise.