A2 Components Cheat Sheet

January 12, 2019 | Author: Alin Balasoiu | Category: N/A
Share Embed Donate


Short Description

Angular 2 - Components Cheat Sheet...

Description



By: Mosh Hamedani

Input Properties Using @Input annotation !"#$%& ()*#+&, -%$" ./*0+1/%234$%567 89$"#$*5*&:;< 5=#$%& 41/>> ?/@$%!&59$"#$*5*& ( 8)*#+&:.!>A-/@$%!&56?/@$%!&5 8)*#+&:.!>A-/@$%!&56<  !>?/@$%!&5 B -/1>57 ,

Using component metadata 89$"#$*5*&:( !*#+&>C D.!>?/@$%!&5C!>A-/@$%!&56E ,< 5=#$%& 41/>> ?/@$%!&59$"#$*5*& ( !>?/@$%!&5 B -/1>57 ,

In the host component F-/@$%!&5 D!>A-/@$%!&5E D!>A-/@$%!&5EBG#$>&H!>?/@$%!&5IJF3-/@$%!&5J BG#$>&H!>?/@$%!&5IJF3-/@$%!&5J

1



By: Mosh Hamedani

Output Properties Using @Output annotation !"#$%& (K+&#+&, -%$" ./*0+1/%234$%567 89$"#$*5*&:;< 5=#$%& 41/>> ?/@$%!&59$"#$*5*& ( 8K+&#+&:.-/@$%!&5A4L/*056< 4L/*05 B *5M [email protected]*&N"!&&5%:H4L/*05H5"!&:( *5MP/1+5C &L!>H!>?/@$%!&5 ,H!>?/@$%!&5 ,
View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF