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,@Outputand@ViewChild. we can access child data using@Outputso makes@Viewchilddifferent from@Output - what is
@viewContent? any example - Is their any way to access parent content from child like we use
@ViewChildto access child content ngOnChanges, ngOnInit, ngDoCheck & ngOnDestroy- I am confused with the term Initializes the
component/directive. ngAfterContentInit, ngAfterContentChecked, ngAfterViewInit & ngAfterViewChecked?