Post
developer.mozilla.orgUsing shadow DOM - Web APIs | MDNAn important aspect of custom elements is encapsulation, because a custom element, by definition, is a piece of reusable functionality: it might be dropped into any web page and be expected to work. S...
0 reposts6 likes
Here's a great start. This is shadow DOM in the context of web components, but the information translates to any element. You don't need to use it with custom elements, but they are commonly used together. javascript.info/web-components
javascript.infoWeb components