es6tween-plugin-draw

0.0.5 • Public • Published

es6-tween-plugin-draw

Usage

import { Tween } from 'es6-tween';
import 'es6-tween-plugin-draw';

let tween = new Tween(document.querySelector('#myCircleSVG'), {draw:'0 100%'}).to({draw:'50% 50%'}, 2000).start();

Motion path / Along path

import { Tween } from 'es6-tween';
import 'es6-tween-plugin-draw';

let tween = new Tween(document.querySelector('#myCircleSVG'), {/* any yours */}).to({alongPath:'#myPathShape'}, 2000).start(); // moves #myCircleSVG along #myPathShape

or

import { Tween } from 'es6-tween';
import 'es6-tween-plugin-draw';

let tween = new Tween(document.querySelector('#myPathShape'), {/* any yours */}).to({motionPath:'#myCircleSVG'}, 2000).start(); // moves #myCircleSVG along #myPathShape

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.52latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.52
0.0.40
0.0.30
0.0.20
0.0.1-beta0
0.0.0-dev0

Package Sidebar

Install

npm i es6tween-plugin-draw

Weekly Downloads

2

Version

0.0.5

License

MIT

Last publish

Collaborators

  • dalisoft