~/talk

Angular Material’s Trees

Talkat NGConf 2018 · on Friday, 2018-04-20· [angular, component-design]
name:Tina Gao
github:thgao
slides:none on file

Angular Material ships three tree components (Material tree plus CDK tree planned for v6) that implement flat tree and nested tree models with a demonstrated checklist (parent partially selected, children auto-check) and a dynamic loading demo that shows a progress bar and children fetched asynchronously after ~1 second. Flat tree supports virtual scrolling and reuses DOM for large data; nested tree preserves parent-child DOM for easier decoration.

AI-written summary · about

  1. 0:00Intro
  2. 1:04Introducing: Tree Component
  3. 3:32Nested Tree
  4. 4:46Four Demos
  5. 5:03Simple tree
  6. 7:04Checklist
  7. 8:23Dynamic
  8. 9:21Assign a Data Source
  9. 10:14Prebuilt data source
  10. 10:31Tree Control
  11. 13:41Recursive Toggle
  12. 14:31Accessibility
  13. 14:55Future plans
~/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.