December 2014
Intermediate to advanced
346 pages
6h 14m
English
AngularJS provides hooks used to define a custom animation when a directive fires an addClass event. The following directives will generate addClass events:
ngShow: This fires the addClass event after the ngShow expression evaluates to a truthy value, and just before the contents are set to visiblengHide: This fires the addClass event after the ngHide expression evaluates to a non-truthy value, and just before the contents are set to visiblengClass: This fires the addClass event just before the class is applied to the elementngForm: This fires the addClass event to add validation classesngModel: This fires the addClass event to add validation classesngMessages: This is fired to add the ng-active class when ...Read now
Unlock full access