feat: add shadow dom resource (#1412)

pull/1657/head
Aroyan 2 years ago committed by GitHub
parent e2457752b8
commit 71e3543697
  1. 7
      content/roadmaps/100-frontend/content/113-web-components/102-shadow-dom.md

@ -1 +1,6 @@
# Shadow dom
# Shadow DOM
An important aspect of web components is encapsulation — being able to keep the markup structure, style, and behavior hidden and separate from other code on the page so that different parts do not clash, and the code can be kept nice and clean. The Shadow DOM API is a key part of this, providing a way to attach a hidden separated DOM to an element.
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_shadow_DOM'>Using shadow DOM | MDN web docs</BadgeLink>

Loading…
Cancel
Save