~/talk

Writing Compound Components in Angular

Talkat NG-MY 2019 · 2019-07-06..07-07· [angular, component-design]
links:none on file
slides:none on file

Shows how to build one reusable breadcrumb container that manages state centrally so three visual variants no longer require three components, cutting duplication and conditional logic. Implementation details: parent grabs child templates via @ContentChild and TemplateRef, renders them with ngTemplateOutlet and context, exposes implicit state methods like itemClick and itemHover, and child items obtain the container reference using forwardRef (provider). Demo and examples are implemented in Storybook.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.