~/talk

Become a Content Projection Artist

Talkat ng-conf 2022 · 2022-08-31..09-02· [angular, component-design]
slides:none on file

Shows exactly how content projection works in Angular and which APIs to use: ng-content, ng-template and NgTemplateOutlet, ContentChildren and templateRef. Builds concrete reusable components—dialog/pop‑up with header/body/footer slots, a dynamic tabs component driven by a marker directive that reads template names, and examples of passing a context object back into projected templates. Demonstrates number‑of‑slots tradeoffs, how the marker directive simplifies the API, and working StackBlitz exercises so the patterns actually run end‑to‑end.

AI-written summary · about

  1. 0:00Start
  2. 5:54Basic Content Projection
  3. 9:01Multi-slot content projection
  4. 15:07Dynamic content projection with ng-template
  5. 25:07Syntax improvements using Angular tricks
~/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.