Matias Niemelä
41a2d5b30f
fix($animate): ensure staggering animations understand multiple delay values
2013-11-05 21:44:25 -05:00
Matias Niemelä
e53ff431e1
fix($animate): ensure the active class is not applied if cancelled during reflow
...
Closes #4699
2013-11-05 21:44:02 -05:00
Matias Niemelä
952fea69fb
chore(ngAnimate): ensure elapsedTime values are in seconds and millseconds
2013-11-05 21:42:42 -05:00
Matias Niemelä
d434eabec3
fix($animate): use direct DOM comparison when checking for $rootElement
...
Closes #4679
2013-10-28 22:47:47 -07:00
Matias Niemelä
7f0767acab
fix($animate): ensure former nodes are fully cleaned up when a follow-up structural animation takes place
...
Closes #4435
2013-10-28 21:26:35 -07:00
Matias Niemelä
6818542c69
fix($animate): ensure enable/disable animations work when the document node is used
...
Closes #4669
2013-10-28 14:26:07 -07:00
Matias Niemelä
7484830744
feat(ngAnimate): provide support for staggering animations with CSS
2013-10-28 15:00:47 -06:00
Matias Niemelä
76b628bcb3
fix($animate): skip unnecessary addClass/removeClass animations
...
Skip addClass animations if the element already contains the class that is being
added to element. Also skip removeClass animations if the element does not contain
the class that is being removed.
Closes #4401
Closes #2332
2013-10-24 17:35:57 -04:00
Matias Niemelä
2623de1426
fix($animate): ensure animations work properly when the $rootElement is being animated
...
Closes #4397
Closes #4231
2013-10-23 07:26:41 -04:00
Matias Niemelä
f5289fe84f
fix($animate): only cancel class-based animations if the follow-up class contains CSS transition/keyframe animation code
...
Closes #4463
Closes #3784
2013-10-23 07:08:03 -04:00
Matias Niemelä
b1e604e38c
fix($animate): perform internal caching on getComputedStyle to boost the performance of CSS3 transitions/animations
...
Closes #4011
Closes #4124
2013-10-10 17:35:36 -07:00
Matias Niemelä
cc5846073e
fix($animate): ensure structural animations skip all child animations even if no animation is present during compile
...
Closes #3215
2013-10-10 17:35:36 -07:00
Matias Niemelä
23c698821f
refactor($animate): queue all successive animations to use only one reflow
2013-10-10 17:35:36 -07:00
Matias Niemelä
3f31a7c769
fix($animate): cancel any ongoing child animations during move and leave animations
2013-10-10 17:35:36 -07:00
Matias Niemelä
079dd93991
fix($animate): ensure elapsedTime always considers delay values
2013-10-10 17:35:36 -07:00
Matias Niemelä
2a63dfa6cc
fix($animator): avoid completing the animation asynchronously unless CSS transtiions/animations are present
...
Closes #4023
Closes #3940
2013-10-01 15:00:16 -04:00
Michał Gołębiowski
ac2d06b19d
chore($ngAnimate): simplify vendor prefixes handling in tests
2013-10-01 10:00:43 -04:00
Matias Niemelä
2df3c9f58d
fix($animate): ensure transition-property is not changed when only keyframe animations are in use
...
Closes #3933
2013-09-30 10:59:28 -07:00
Matias Niemelä
0a63adce68
fix(ngAnimate): ensure that delays are always considered before an animation closes
...
Closes #4028
2013-09-26 11:19:43 -07:00
Matias Niemelä
d50ed6bfb8
fix(ngAnimate): check elapsedTime on current event
...
onAnimationProgress now checks the event's elapsedTime property before
checking the originalEvent.elapsedTime property.
Use browserTrigger with elapsedTime parameter to trigger animation events
2013-09-06 22:19:53 +01:00
Matias Niemelä
32ad292611
refactor($animate): use CSS3 transition/animation events instead of $timeouts to track ongoing animations
...
Closes #3629
Closes #3874
2013-09-05 17:20:28 -04:00
Matias Niemelä
36ad40b18c
fix(ngAnimate): ensure that ngClass is always compiled before enter, leave and move animations
...
Closes #3727
Closes #3603
2013-09-03 17:06:49 -07:00
Matias Niemelä
4382df03fa
fix(ngAnimate): cut down on extra $timeout calls
2013-09-03 17:06:49 -07:00
Igor Minar
92700509c8
test(docs): disable brittle tests that need to be rewritten
2013-08-25 14:46:54 -07:00
Igor Minar
9b94169aaa
style(animateSpec): remove ws
2013-08-25 14:46:54 -07:00
Matias Niemelä
7c605ddf1c
fix($animate): skip ngAnimate animations if the provided element already has transitions/durations attached to it
...
Closes #3587
2013-08-23 14:04:35 -07:00
Matias Niemelä
ee2f3d21da
fix($animate): only execute a timeout when transitions or keyframe animations are used
...
ngAnimate causes a 1ms flicker on the screen when no CSS animations are present on the element.
The solution is to change $animate to only use $timeouts when a duration is found on the element
before the transition/keyframe animation takes over.
Closes #3613
2013-08-23 14:04:35 -07:00
Matias Niemelä
fb3a7db080
feat(ngMock): add support for creating dynamic style sheets within test code
2013-08-23 14:04:35 -07:00
Matias Niemelä
2430347ece
fix(ngAnimate): make sure that the class value passed into addClass/removeClass is the base class string value
2013-08-09 14:39:58 -07:00
Matias Niemelä
f61ff69519
chore(ngAnimate): fix incomplete animation test
2013-08-09 14:39:58 -07:00
Matias Niemelä
e31104fa6c
fix($animate): make animation onComplete callbacks async
2013-07-26 23:49:54 -07:00
Matias Niemelä
15389b0e37
fix(ngAnimate): $timeout integration and cancel callbacks added
2013-07-26 23:49:54 -07:00
Matias Niemelä
8ed0d5b6aa
chore($animate): replace show/hide with addClass/removeClass
2013-07-26 23:49:54 -07:00
Matias Niemelä
81923f1e41
feat(ngAnimate): complete rewrite of animations
...
- ngAnimate directive is gone and was replaced with class based animations/transitions
- support for triggering animations on css class additions and removals
- done callback was added to all animation apis
- $animation and $animator where merged into a single $animate service with api:
- $animate.enter(element, parent, after, done);
- $animate.leave(element, done);
- $animate.move(element, parent, after, done);
- $animate.addClass(element, className, done);
- $animate.removeClass(element, className, done);
BREAKING CHANGE: too many things changed, we'll write up a separate doc with migration instructions
2013-07-26 23:49:54 -07:00