Socket
Socket
Sign inDemoInstall

animates

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

animates

Tiny, performant api for easy css3 animations


Version published
Maintainers
1
Created
Source

Animates

Tiny, performant api for easy css3 animations

installation

npm install --save animates

usage

// animates(el, css, [opts])

var animates = require('animates')

function fadeOut (el) {
  return animates(el, { opacity: 0 })
}
/*
options:
- speed (ms, defaults to 200)
- delay (ms)
- easing (e.g. 'ease', 'linear', 'ease-in', 'ease-out', 'ease-in-out' etc.)
*/

// cancel animation:
var stop = animates(el, { opacity: 0 })
stop()

demo

link

run tests

npm test

Want to work on this for your day job?

This project was created by the Engineering team at Qubit. As we use open source libraries, we make our projects public where possible.

We’re currently looking to grow our team, so if you’re a JavaScript engineer and keen on ES2016 React+Redux applications and Node micro services, why not get in touch? Work with like minded engineers in an environment that has fantastic perks, including an annual ski trip, yoga, a competitive foosball league, and copious amounts of yogurt.

Find more details on our Engineering site. Don’t have an up to date CV? Just link us your Github profile! Better yet, send us a pull request that improves this project.` Contact GitHub API Training Shop Blog About

Keywords

FAQs

Package last updated on 22 Jul 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc