Quick Context about Host Context
summary
Claims that host-context() replaces deprecated ng-deep for cross-component styling and that it works reliably under emulated view encapsulation. Demonstrates a card component that changes layout (row vs column) and hides a “favorite” element based on a parent class, and a theme example where a root-level dark class overrides the card background. Uses Angular component styles and CSS pseudo-selectors; code and slides live in the linked GitHub repo via QR.
AI-written summary · about
chapters (7)
- 0:00Intro
- 0:33Host Context
- 0:56Who am I
- 1:28Angular Components
- 1:45View Encapsulation
- 2:48Host Contacts
- 3:43Examples
related talks
25mWeb components with Angular: The what, the why and the how.
32mClean Up Your Dom By Using The Full Power Of Angular Host Elements
01h 18mA Deep Look At Angular Elements
21mCreating Container Components with Web Components and Angular
25mI'm with Web Components and Web Components Are with Me
27mThe good, the bad and the ugly - Component architecture at scale
41mFrom .component() to @Component
56mModern CSS For Dynamic Component-Based Architecture
