I am new to Angular2 and want to clear some concepts as i referred many other post but still unclear. Issue is am not able to understand high level languages being used in tutorials so please can anyone help me understand in simple language.
- what is difference between
@Input
,@Output
and@ViewChild
. we can access child data using@Output
so makes@Viewchild
different from@Output
- what is
@viewContent
? any example - Is their any way to access parent content from child like we use
@ViewChild
to access child content ngOnChanges, ngOnInit, ngDoCheck & ngOnDestroy
- I am confused with the term Initializes the
component/directive
. ngAfterContentInit, ngAfterContentChecked, ngAfterViewInit & ngAfterViewChecked?