1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2024-11-21 23:39:37 +01:00

🐛 flems import issue(s)

This commit is contained in:
Jan Andrle 2024-05-17 22:25:10 +02:00
parent 82e4ca687c
commit 4014e79740
Signed by: jaandrle
GPG Key ID: B3A25AED155AFFAB

View File

@ -1,4 +1,4 @@
import { el, empty } from "deka-dom-el"; import { el, empty, on } from "deka-dom-el";
document.body.append( document.body.append(
el(component), el(component),
el("button", { el("button", {
@ -7,7 +7,6 @@ document.body.append(
type: "button" type: "button"
}) })
); );
import { on } from "deka-dom-el";
import { O } from "deka-dom-el/observables"; import { O } from "deka-dom-el/observables";
function component(){ function component(){
const textContent= O("Click to change text."); const textContent= O("Click to change text.");