3 ms·
You can also use Web Components directly and manipulate them like regular HTML elements, no need to add a framework. Even using Shadow DOM isn't required. Type
by wildpeaks 1y ago
You can also use Web Components directly and manipulate them like regular HTML elements, no need to add a framework. Even using Shadow DOM isn't required.
Typescript can even add Intellisense to "customElements.get" by augmenting CustomElementRegistry:
https://gist.github.com/cecilemuller/72fbb3bc3a77d82c8a969cdfaa06508c https://gist.github.com/cecilemuller/72fbb3bc3a77d82c8a969cd...