mirror of
https://github.com/jaandrle/deka-dom-el
synced 2026-10-24 17:51:48 +02:00
🔤 ce wip
This commit is contained in:
3 files changed
+8
-5
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user