Package Exports
- es6tween-plugin-morph
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (es6tween-plugin-morph) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
es6-tween-plugin-morph
Usage
import { Tween } from 'es6-tween';
import 'es6-tween-plugin-morph';
let tween = new Tween({node:document.querySelector('#myPath'), morph:{shape:'#circleSVGShape'}).to({morph:{shape:'#rectSVGShape'}}, 2000).start();
Config
reverse: Boolean
- Reverses the path if your want change naturalitymoveIndex: Number
- Changes the index of points to make better/worse naturality