1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2026-01-11 16:26:28 +01:00

cross-platform using enviroment (#14)

* 🎉

* Dev bugs@v0.7.6 (#12)

* Update observables-lib.js

* `collectChildren`

* Update todosComponent.js

* 🚀 filter for `collectChildren`

* finalization
This commit is contained in:
2024-01-07 13:22:55 +01:00
committed by GitHub
parent d2ddaaec6f
commit 5e7f7558b5
11 changed files with 90 additions and 66 deletions

8
jsdom.d.ts vendored
View File

@@ -1,5 +1,13 @@
import { el, assign, on } from "./index.d";
export * from "./index.d";
type JSDOM= {
window: Window,
document: Document,
HTMLElement: typeof HTMLElement,
SVGElement: typeof SVGElement,
DocumentFragment: typeof DocumentFragment,
MutationObserver?: typeof MutationObserver
};
export function register(dom: JSDOM): Promise<{
el: typeof el,
assign: typeof assign,