@mabs.dk/nativescript-animejs
JavaScript animation engine - forked for NativeScript
npm i --save @mabs.dk/nativescript-animejs
- Version: 3.2.1-alpha.0
- GitHub: https://github.com/m-abs/anime
- NPM: https://www.npmjs.com/package/%40mabs.dk%2Fnativescript-animejs
- Downloads:
- Last Day: 0
- Last Week: 0
- Last Month: 0
@mabs.dk/nativescript-animejs - NativeScript wrapper for anime.js
JavaScript animation engine | animejs.com
Anime.js (/ˈæn.ə.meɪ/
) is a lightweight JavaScript animation library with a simple, yet powerful API.
It works with CSS properties, SVG, DOM attributes and JavaScript Objects.
Getting started | Documentation | Demos and examples | Browser support
Getting started
Download
Via npm
$ npm install @mabs.dk/nativescript-animejs --save
or manual download.
Usage
import anime from '@mabs.dk/nativescript-animejs';
Hello world
anime({
targets: tnsView,
translateX: 250,
rotate: '1turn',
backgroundColor: '#FFF',
duration: 800
});
Documentation
- Targets
- Properties
- Property parameters
- Animation parameters
- Values
- Keyframes
- Staggering
- Timeline
- Controls
- Callbacks and promises
- SVG Animations
- Easing functions
- Helpers
Demos and examples
- CodePen demos and examples
- juliangarnier.com
- animejs.com
- Moving letters by @tobiasahlin
- Gradient topography animation by @crnacura
- Organic shape animations by @crnacura
- Pieces slider by @lmgonzalves
- Staggering animations
- Easings animations
- Sphere animation
- Layered animations
- anime.js logo animation
Website | Documentation | Demos and examples | MIT License | © 2019 Julian Garnier.