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

🔤 Web Components WIP

This commit is contained in:
2024-06-04 16:00:37 +02:00
parent f8646f08a7
commit 83ade00bf0
3 changed files with 27 additions and 12 deletions

View File

@ -1,4 +1,4 @@
class CustomHTMLElement extends HTMLElement{
export class CustomHTMLElement extends HTMLElement{
static tagName= "custom-element"; // just suggestion, we can use `el(CustomHTMLElement.tagName)`
static observedAttributes= [ "custom-attribute" ];
constructor(){