December 2014
Intermediate to advanced
346 pages
6h 14m
English
AngularJS provides hooks to define a custom animation when a directive fires an enter event. The following directives will generate enter events:
ngIf: This fires the enter event just after the ngIf contents change, and a new DOM element is created and injected into the ngIf containerngInclude: This fires the enter event when new content needs to be brought into the browserngRepeat: This fires the enter event when a new item is added to the list or when an item is revealed after a filterngSwitch: This fires the enter event after the ngSwitch contents change, and the matched child element is placed inside the containerngView: This fires the enter event when new content needs to be brought into the browserngMessage ...Read now
Unlock full access