Back to Browse

Angular 12 tutorial - ViewChild and ViewChildren

1.4K views
Jun 26, 2021
20:58

Angular 12 - in depth look into the ViewChild and ViewChildren decorators in Angular 12. We try out the multiple selectors like Components, directives, Services. tokens, templates, template reference variables. Also we look at the static and read options of the ViewChild decorator. We explore the setter/getter option for ViewChild. We also explore the ViewChildren decorator returning Querylist, how to subscribe to changes to QueryList. Also takes a look at the options of ViewChildren Github url: https://github.com/anuroopjoy/viewchild-demo 00:00 - Introduction 01:00 - ViewChild selectors 10:15 - ViewChild static option 11:36 - ViewChild read option 12:28 - ViewChild setter/getter 15:20 - ViewChildren 18:08 - ViewChildren Querylist subscribe

Download

1 formats

Video Formats

360pmp431.3 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Angular 12 tutorial - ViewChild and ViewChildren | NatokHD