diff options
| author | Matias Niemelä | 2013-11-06 17:59:48 -0500 | 
|---|---|---|
| committer | Matias Niemelä | 2013-11-06 18:11:59 -0500 | 
| commit | 947a44d1ee6b253a5f31bb28616e0fa0303bd4aa (patch) | |
| tree | e0f810861cc84712db50c41c1a9ff35b6c7ff14c | |
| parent | eb51b024c9b77527420014cdf7dbb292b5b9dd6b (diff) | |
| download | angular.js-947a44d1ee6b253a5f31bb28616e0fa0303bd4aa.tar.bz2 | |
chore(docs): specify how ngClass deals with natural CSS transitions
| -rw-r--r-- | src/ng/directive/ngClass.js | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/src/ng/directive/ngClass.js b/src/ng/directive/ngClass.js index ef03f4ab..7e2b7674 100644 --- a/src/ng/directive/ngClass.js +++ b/src/ng/directive/ngClass.js @@ -193,10 +193,10 @@ function classDirective(name, selector) {     ## ngClass and pre-existing CSS3 Transitions/Animations     The ngClass directive still supports CSS3 Transitions/Animations even if they do not follow the ngAnimate CSS naming structure. -   Therefore, if any CSS3 Transition/Animation styles (outside of ngAnimate) are set on the element, then, if a ngClass animation -   is triggered, the ngClass animation will be skipped so that ngAnimate can allow for the pre-existing transition or animation to -   take over. This restriction allows for ngClass to still work with standard CSS3 Transitions/Animations that are defined -   outside of ngAnimate. +   Upon animation ngAnimate will apply supplementary CSS classes to track the start and end of an animation, but this will not hinder +   any pre-existing CSS transitions already on the element. To get an idea of what happens during a class-based animation, be sure +   to view the step by step details of {@link ngAnimate.$animate#methods_addclass $animate.addClass} and +   {@link ngAnimate.$animate#methods_removeclass $animate.removeClass}.   */  var ngClassDirective = classDirective('', true); | 
