0.0.21 • Published 6 years ago
es6tween-plugin-morph v0.0.21
es6-tween-plugin-morph
Morph plug-in for ES6 tween
Usage
import { Tween } from 'es6-tween';
import 'es6-tween-plugin-morph';
let tween = new Tween(document.querySelector('#myPath'), {morph:{shape:'#circleSVGShape'}).to({morph:{shape:'#rectSVGShape'}}, 2000).start();
Config
shape: Any
- If want to usereverse/moveIndex
, you shouldshape
reverse: Boolean
- Reverses the path if your want change naturalitymoveIndex: Number
- Changes the index of points to make better/worse naturalityapproximate: Boolean
- Requiresflubber
library and makes animation a lot better
0.0.21
6 years ago
0.0.20
6 years ago
0.0.19
6 years ago
0.0.18
6 years ago
0.0.17
6 years ago
0.0.16
6 years ago
0.0.15
6 years ago
0.0.14-RELEASE2018
6 years ago
0.0.12
7 years ago
0.0.11
7 years ago
0.0.10
7 years ago
0.0.9
7 years ago
0.0.8
7 years ago
0.0.7
7 years ago
0.0.6
7 years ago
0.0.5
7 years ago
0.0.4
7 years ago
0.0.3
7 years ago
0.0.2
7 years ago
0.0.1-beta
7 years ago
0.0.0-dev
7 years ago