joshualambert / ti.animation

Titanium animation module for Facebook Keyframe and Airbnb Lottie

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ti.Animation Build Status

gif

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

About

Titanium animation module for Facebook Keyframe and Airbnb Lottie

License:Other


Languages

Language:Objective-C 94.5%Language:Java 4.2%Language:JavaScript 1.2%Language:C 0.1%