@mabs.dk/nativescript-animejs

JavaScript animation engine - forked for NativeScript

Usage no npm install needed!

<script type="module">
  import mabsDkNativescriptAnimejs from 'https://cdn.skypack.dev/@mabs.dk/nativescript-animejs';
</script>

README


@mabs.dk/nativescript-animejs - NativeScript wrapper for anime.js

JavaScript animation engine | animejs.com

npm version npm downloads

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

Demos and examples

anime-js-v3-logo

Website | Documentation | Demos and examples | MIT License | © 2019 Julian Garnier.