[TIMOB-604] Add ability to stop/start an animation
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-04-17T01:53:39.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 1.2.0 |
| Components | iOS |
| Labels | n/a |
| Reporter | Nolan Wright |
| Assignee | Blain Hamon |
| Created | 2011-04-15T02:32:52.000+0000 |
| Updated | 2011-04-17T01:53:39.000+0000 |
Description
add stop and stop methods to animation object
Notes to self: Stopping an animation is done by specifying a new animation in its stead.
view.animate({center:{x:5,y:5}});
This, combined with a new property on the view, called 'animatedCenter', which reflects the current XY location of the view's animated version. Using
view.animate({center:{x:view.animatedCenter.x,y:view.animatedCenter.y}});
or
view.animate({center:view.animatedCenter});
Closed by 647dce1
Not sure this is working...