Dear , i'm new on angular 2 , and currently learning on directives . Based on this example https://angular.io/resources/live-examples/attribute-directives/ts/plnkr.html in my understanding, on file *app/app.component.html* when i click on radio button for example green, it will set variable : color to "green". but when i programmatically replace variable color for with example : "red", why the ngOnChanges not called as it called with --> * (click)="color='cyan'"* is there is some way to change the class property and fire change notification
thx before best regards, -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
