HTML, CSS, & JavaScript Tutorial: Web Components with the Shadow DOM
ฝัง
- เผยแพร่เมื่อ 18 ต.ค. 2024
- In this video, I demonstrate how you can use the Shadow DOM to work with Web components.
#webcomponents #shadowdom #html #html5 #htmltutorial #css #csstutorial #javascript #javascripttutorial #webdevelopment #webdev #programming #programmingtutorial #coding #codingtutorial
This was one of the best tuts on web components that I have seen yet. Short and simple and easy to follow.
I want to see another one but this time:
1) make the components external .js files
2) make more than one .js component for example my-button.js and my-widget.js
3) Then make my-button interact with my-widget together in index.html
All of the tutorials out there teach how to make a single component but very few put multiple external components together . It looks easy when you make just one but put another one in that page and you cannot just repeat what you have shown here. There are MORE unknowns which will confuse people /me