2017/03 6

AngularJS에서 *가 의미하는 것

https://angular.io/docs/ts/latest/tutorial/toh-pt1.htmlhttps://angular.io/docs/ts/latest/guide/structural-directives.html#!#prefer-asterisk []는 template tag 안에서, 그 변수가 있을지 없을지 모르는 상태에서 사용*는 변수가 존재할때, The asterisk (*) prefixSurely you noticed the asterisk (*) prefix to the directive name and wondered why it is necessary and what it does.Here is *ngIf displaying the hero's name if hero exists.COPY..

ANgularJS 2.0+ 2017.03.24
반응형