3 ms·
The same for Web Components (in place of Custom Elements).
by brazukadev 11mo ago
The same for Web Components (in place of Custom Elements).
- lcnPylGDnU4H9OF 11mo agoThis would make sense if we defined them by inheriting `HTMLComponent` (https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement) and registered them with the DOM using `document.createComponent` (https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement https://developer.mozilla.org/en-US/docs/Web/API/Document/cr...).