[TIMOB-26231] TiAPI: Refactor animations to be more comprehensive
| GitHub Issue | n/a |
|---|---|
| Type | Improvement |
| Priority | None |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Android, iOS, Windows |
| Labels | n/a |
| Reporter | Hans Knöchel |
| Assignee | Unknown |
| Created | 2018-07-23T12:46:14.000+0000 |
| Updated | 2018-07-23T12:46:26.000+0000 |
Description
Our current animation system is already pretty powerful, but it hasn't seen too many updates over the last year. Comparing to other frameworks, we could easily add the new properties / animation types to our existing API set:
- Grouping animation-sequences
- Combining animation-sequences
- Interpolate animations
The new API-sets could be added to the existing
Ti.UI.Animation API, e.g.
const animation = Ti.UI.createAnimation({
velocity: {
x: gesture.vx,
y: gesture.vy
}
});
animation.decay();
No comments