feat: add shadow dom resource (#1412)

pull/1415/head
Aroyan 2 years ago committed by GitHub
parent afbd737496
commit 48580ce0ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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