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