An introduction to the different technologies used to create reusable web components â custom elements whose functionality is encapsulated away from the rest of your code.
Shadow DOM fundamentals, including attaching a shadow DOM to an element, adding to the shadow DOM tree, and styling.
Defining reusable HTML structure using <template>
and <slot>
elements, and using that structure inside web components.
Introduction to the Custom Elements API, the JavaScript API used to create custom elements that encapsulate functionality.
CSS :defined
pseudo-class
CSS ::part
pseudo-element
HTML <template>
element
HTML <slot>
element
HTML slot
attribute
Shadow tree glossary term
DOM glossary term
Compound selector term
Selector list term
Web components interfaces, properties, and methods
CustomElementRegistry
interfaceElement
API
Element.slot
propertyElement.assignedSlot
propertyElement.attachShadow()
methodHTMLSlotElement
interfaceHTMLTemplateElement
interfaceShadowRoot
interfaceNote: Despite the name, the :scope
pseudo-class, which represents elements that are a reference point (or scope) for selectors to match against, is defined in the Selectors module. It is otherwise unrelated to the CSS scoping module, which is focused on scoping as it pertains to the Shadow DOM scoping mechanism.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.5