4 hours of instruction
A course that builds a foundational understanding of Web Components. Web Components give us the power to extend the web with our own rich, standards-based components.
OBJECTIVES
- Learn how to use the Shadow DOM
- Define inert templates with the template tag
- Extend HTML by registering your custom elements
PREREQUISITES
Introduction to JavaScript: Basic Concepts
SYLLABUS & TOPICS COVERED
- HTML Templates
- Common Approaches
- Template Characteristics
- Defining and Cloning
- Injecting Dynamic Data
- Nested Templates
- Custom Elements
- Core Functionality
- Registering and Instantiating Custom Elements
- Instantiating Extended Custom Elements
- Lifecycle Callback Methods
- Naming Approaches
- Shadow DOM
- Light DOM vs. Shadow DOM
- Shadow DOM Alternatives
- Shadow Host and Shadow Boundary
- JavaScript Is Not Encapsulated
- Content Insertion Point
- Insertion Points vs. Distributed Nodes
- Content Selectors
- Shadow Insertion Points
- Listing Distributed Nodes and Destination Insertion Points
- Event Retargeting
- Events That Stop
SOFTWARE REQUIREMENTS
Browser, Text editor
About Instructor
Login
Accessing this course requires a login. Please enter your credentials below!