This commit is contained in:
2026-03-31 16:38:22 -07:00
commit 38940436a7
2112 changed files with 376929 additions and 0 deletions

21
node_modules/morphdom/index.d.ts generated vendored Normal file
View File

@ -0,0 +1,21 @@
interface MorphDomOptions {
getNodeKey?: (node: Node) => any;
onBeforeNodeAdded?: (node: Node) => false | Node;
onNodeAdded?: (node: Node) => void;
onBeforeElUpdated?: (fromEl: HTMLElement, toEl: HTMLElement) => boolean;
onElUpdated?: (el: HTMLElement) => void;
onBeforeNodeDiscarded?: (node: Node) => boolean;
onNodeDiscarded?: (node: Node) => void;
onBeforeElChildrenUpdated?: (fromEl: HTMLElement, toEl: HTMLElement) => boolean;
skipFromChildren?: (fromEl: HTMLElement) => boolean;
addChild?: (parent: HTMLElement, child: HTMLElement) => void;
childrenOnly?: boolean;
}
declare function morphdom(
fromNode: Node,
toNode: Node | string,
options?: MorphDomOptions,
): Node;
export default morphdom;