Ti.Animation
Appcelerator Titanium Android module for Facebooks Keyframes libray and for Airbnb Lottie.
Requirements
- Titanium Mobile SDK 7.0.0 or later
Library versions:
The Titanium modules use external libraries
Library | Platform | Version | Build Date |
---|---|---|---|
Facebooks Keyframes | Android | 1.0.0 | 2017/02/11 |
Facebooks Keyframes | iOS | 1.0.0 | 2017/02/11 |
Airbnb Lottie | Android | 2.6.1 | 2018/09/06 |
Airbnb Lottie | iOS | 2.5.0 | 2018/02/11 |
Choose your view
Lottie
var animation = TiAnimation.createLottieView({
file: 'file.json',
loop: false,
autoStart: false
});
Keyframes
var animation = TiAnimation.createKeyframeView({
file: 'file.json',
loop: false,
autoStart: false
});
Features/Documentation
Visit the wiki for the documentation.
Example
Please see the basic example in example/app.js
. More examples can found in the wiki
Resources
At LottieFiles you will find a list of free Lottie animations.
Authors
- Hans Knöchel (@hansemannnn / Web)
- Michael Gangolf (@MichaelGangolf / Web)