Angular 2 provides @ViewChild
, @ViewChildren
, @ContentChild
and @ContentChildren
decorators for querying a component’s descendant elements.
What’s the difference between the first two and the latter two?
Angular 2 provides @ViewChild
, @ViewChildren
, @ContentChild
and @ContentChildren
decorators for querying a component’s descendant elements.
What’s the difference between the first two and the latter two?