mercury-animate

1.1.1 • Public • Published

Mercury.js

Dependency Status MIT License

An Animation Library for javascript.

Use like Timeline!

Mercury is a chemical element with symbol Hg and atomic number 80.


Install

npm install mercury-animate

yarn add mercury-animate
import Hg from "mercury-animate"

Animate

var root = Hg.timeline(); // Create root timeline layer.

root.add({
    targets: "div",
    duration: 2000,
    delay: 500,
    transformX: "100%",
    scaleX: 2,
    easing: "linear"
});

var layer1 = timeline.parallel({
    targets: "p",
    duration: 1000,
    transformY: "100%",
    easing: "easeInOutCubic"
});

root.add({
    targets: "div",
    duration: 500,
    transfromX: "-50%"
})

root.start();

Write More Descriptions Later.

Package Sidebar

Install

npm i mercury-animate

Weekly Downloads

2

Version

1.1.1

License

MIT

Unpacked Size

232 kB

Total Files

8

Last publish

Collaborators

  • npm