angular - Angular2: Difference between Decoraters -
i new angular2 , want clear concepts referred many other post still unclear. issue not able understand high level languages being used in tutorials please can me understand in simple language.
- what difference between @input, @output , @viewchild. can access child data using @output makes @viewchild different @output
- what @viewcontent? example
- is way access parent content child use @viewchild access child content
- ngonchanges, ngoninit, ngdocheck & ngondestroy
- i confused term initializes component/directive.
- ngaftercontentinit, ngaftercontentchecked, ngafterviewinit & ngafterviewchecked?
what difference between @input, @output , @viewchild. can access child data using @output makes @viewchild different @output
http://learnangular2.com/inputs/ http://learnangular2.com/outputs/ http://learnangular2.com/viewchild/
what @viewcontent? example haven't heard of
@viewcontent
is way access parent content child use @viewchild access child content
you use service or pass data down using @input
more here: https://angular.io/docs/ts/latest/cookbook/component-communication.html
ngonchanges, ngoninit, ngdocheck & ngondestroy
please read angular tutorial: https://angular.io/docs/ts/latest/guide/lifecycle-hooks.html
i confused term initializes component/directive.
i'm not sure mean that, here post clarification:
@directive v/s @component in angular2
ngaftercontentinit, ngaftercontentchecked, ngafterviewinit & ngafterviewchecked?
please read angular tutorial: https://angular.io/docs/ts/latest/guide/lifecycle-hooks.html
Comments
Post a Comment