From d6e26ae3dcd73755dfcbbfd8c826a8af82a35921 Mon Sep 17 00:00:00 2001 From: tricinel Date: Fri, 5 Oct 2018 17:57:34 +0200 Subject: [PATCH 1/3] Add Web Components --- glossary/WebComponents.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 glossary/WebComponents.md diff --git a/glossary/WebComponents.md b/glossary/WebComponents.md new file mode 100644 index 000000000..d48dcbeca --- /dev/null +++ b/glossary/WebComponents.md @@ -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. From 0ad082fbe256f1c8eac2f0470cb620a29f2a9cb2 Mon Sep 17 00:00:00 2001 From: tricinel Date: Fri, 5 Oct 2018 18:07:32 +0200 Subject: [PATCH 2/3] Add Shadow DOM --- glossary/ShadowDOM.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 glossary/ShadowDOM.md diff --git a/glossary/ShadowDOM.md b/glossary/ShadowDOM.md new file mode 100644 index 000000000..d88e08322 --- /dev/null +++ b/glossary/ShadowDOM.md @@ -0,0 +1,4 @@ +### Shadow DOM + +Shadow DOM allows you to attach hidden DOM (Document Object Model) trees to elements in the normal DOM tree. These subtrees 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 you would with a regular DOM. +Examples of shadow DOM uses can already be found in the wild: the `