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?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…