1.0.4 • Published 6 years ago

jquery.animate.css v1.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

jquery.animate.css Build Status Code Climate

This package makes the usage of the beautiful https://daneden.github.io/animate.css/ very easy by bundling animate-sass for selective animation style including and a jQuery plugin for easy usage on your website.

Save bandwith and time =)

Installation

$ bower install jquery.animate.css --save

or

$ npm install jquery.animate.css --save

Import into sass

You have to include the animate-sass into your sass sources and enable the animations you want to use later on your website.

A typical sass file looks like:

// $use-all: true

$use-bounce: true

@import "[path_to_bower_components]/creative-workflow.animate-sass/animate"

Note: For all configurations look at the file path_to_bower_components/animate-sass/helpers/_settings.scss

Include in your website

Just load the javascript file [path_to_bower_components]/jquery.animate.css/dist/jquery.animate.css.js.

Note: Dont't forgett to include your compiled css file ^^.

Usage in javascript

$('img').fadeOut(500)
        .animateCss('bounceOut', 500);

methods

animateCss: (animateCssAnimation, duration=400, complete=null)

Triggers an animate.css animation included by sass-animate.

  • animateCssAnimation: The animation that should be triggered.
  • duration: Animation duration in milli seconds.
  • complete: An optional callback function when animation finishes.

Dependencies

Resources

Authors

Tom Hanoldt

Contributing

Check out the Contributing Guidelines

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago