1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2024-11-25 01:39:37 +01:00
deka-dom-el/index.js
Jan Andrle f5adefbc9c
💥 Signals are now optional + reactive element
- `registerReactivity` can be used to register custom behavior
- Signals are automatically registered when `signals.js` is imported;
- `el("<>", signal, map)`
2023-08-26 17:32:58 +02:00

7 lines
227 B
JavaScript

[ HTMLElement, DocumentFragment ].forEach(c=> {
const { append }= c.prototype;
c.prototype.append= function(...els){ append.apply(this, els); return this; };
});
export * from "./src/dom.js";
export * from "./src/events.js";