Merge pull request #811 from tricinel/update-glossary-terms

Update glossary terms
This commit is contained in:
Angelos Chalaris
2018-10-09 19:18:57 +03:00
committed by GitHub
2 changed files with 9 additions and 0 deletions

5
glossary/ShadowDOM.md Normal file
View File

@ -0,0 +1,5 @@
### Shadow DOM
Shadow DOM allows you to attach hidden DOM trees to elements in the normal DOM tree, which are included in the document rendering, but excluded from the main document DOM tree.
A shadow DOM tree will start with a shadow root, to which you can attach any elements you want, just like in a regular DOM.
Examples of shadow DOM uses are the `<video>`/`<audio>` elements and the simple `<input type="range">` element.

View File

@ -0,0 +1,4 @@
### Web Components
Web Components are a set of web platform APIs that allow you to create new custom, reusable, encapsulated HTML tags to use on web pages and apps.
Building custom components using these standards means that you can use them across modern browsers regardless of any JavaScript library or framework.