Skip to Main Content
Beginning Shadow DOM API: Get Up and Running with Shadow DOM for Web Applications
book

Beginning Shadow DOM API: Get Up and Running with Shadow DOM for Web Applications

by Alex Libby
March 2024
Intermediate to advanced content levelIntermediate to advanced
145 pages
2h 23m
English
Apress
Content preview from Beginning Shadow DOM API: Get Up and Running with Shadow DOM for Web Applications
© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2024
A. LibbyBeginning Shadow DOM APIApress Pocket Guideshttps://doi.org/10.1007/979-8-8688-0249-2_2

2. Creating Components

Alex Libby1  
(1)
Belper, Derbyshire, UK
 

Over the last few pages, we started to explore the Shadow DOM API and how we might use it to encapsulate code into a feature or component. We created a couple of simple examples and covered some of the terms and functions available for use in this API.

This is all good, but what about using it in a practical context? The best way to do this is by writing components (or features) – while this book is about the Shadow DOM API, it forms the basis for creating web components, such as those offered in the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Frameworkless Front-End Development: Do You Control Your Dependencies or are They Controlling You?

Frameworkless Front-End Development: Do You Control Your Dependencies or are They Controlling You?

Francesco Strazzullo
React Cookbook

React Cookbook

David Griffiths, Dawn Griffiths

Publisher Resources

ISBN: 9798868802492Purchase LinkPublisher Website