New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@chemzqm/css-animation

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chemzqm/css-animation

css-animation

  • 1.2.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

css-animation


make css animation easier

NPM version

Development

npm install
npm start

Example

http://localhost:9001/examples/

online example: http://yiminghe.github.io/css-animation/

Feature

  • support ie8,ie8+,chrome,firefox,safari

install

css-animation

Usage

var anim = require('css-animation');
anim(el,animationName,function(){});

API

void anim(el:DOMElement, animationName:String, callback:Function)

nametypedefaultdescription
elDOMElementdom element to be animated
animationNameStringwill add animationName as class to el,then setTimeout 0 to add ${animationName}-active to el
callbackFunctiontriggered when anim caused by animationName is done

Test Case

npm test
npm run chrome-test

Coverage

npm run coverage

open coverage/ dir

License

css-animation is released under the MIT license.

Keywords

FAQs

Package last updated on 18 May 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