March 2024
Intermediate to advanced
145 pages
2h 23m
English
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 ...