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_3

3. Applying Shadow DOM API in Apps

Alex Libby1  
(1)
Belper, Derbyshire, UK
 

Throughout this book, we’ve focused on creating components that use the Shadow DOM API – it’s perfect for encapsulating styles, controlling what we can and can’t override, and generally maintaining consistency – rather than letting others run roughshod over your pride and joy!

There is one thing, though – what about using the API generally in sites outside of components? As developers, we would probably create some form of component, but there may be occasions where you want to create something ...

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