1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2025-07-02 04:32:14 +02:00

🔤 ce wip

This commit is contained in:
2024-06-07 14:38:38 +02:00
parent a5efbd236c
commit 55860b99eb
3 changed files with 8 additions and 5 deletions

View File

@ -23,7 +23,7 @@ function ddeComponent({ attr }){
);
return el().append(
el("p", `Hello from Custom Element with attribute '${attr}'`)
)
);
}
customElementWithDDE(HTMLCustomElement);
customElements.define(HTMLCustomElement.tagName, HTMLCustomElement);