mirror of
https://github.com/jaandrle/deka-dom-el
synced 2024-11-25 01:39:37 +01:00
🐛 flems import issue(s)
This commit is contained in:
parent
82e4ca687c
commit
4014e79740
@ -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.");
|
||||||
|
Loading…
Reference in New Issue
Block a user