An open API service indexing awesome lists of open source software.

https://github.com/benignware/jquery.fx-transition

Drop-in css-transitions for jQuery
https://github.com/benignware/jquery.fx-transition

Last synced: 11 months ago
JSON representation

Drop-in css-transitions for jQuery

Awesome Lists containing this project

README

          

# jquery.fx-transition
> Drop-in css-transitions for jQuery

Usage
-----

Use jQuery's fx-methods (e.g. animate, fadeIn, etc.) as usual.

See [jQuery API-Documentation](http://api.jquery.com/animate/) for more information.

Options
-------


OptionTypeDescription


cssTransitions
Boolean

Specify whether to use css-transitions. Defaults to `true`.



easing
String

Specify a timing-function that should apply to the transition. Either provide an identifier name or a set of cubic-bezier control-point values as css-function, e.g. `cubic-bezier(0.2, 0.1, 0.47, 1)` or an array, e.g. `[0.2, 0.1, 0.47, 1]`.



specialDelay
Object

Specify delay on a per-prop-basis, e.g. {left: 2000}



specialDuration
Object

Specify duration on a per-prop-basis, e.g. {left: 2000}



specialEasing
Object

Specify easing on a per-prop-basis, e.g. {left: 'ease-in-out'}

Easings
-------

The following easing-types are supported:

* swing, linear, ease, easeIn, easeInQuad, easeInCubic, easeInQuart, easeInQuint, easeInSine, easeInExpo, easeInCirc, easeInBack,
easeOut, easeOutQuad, easeOutCubic, easeOutQuart, easeOutQuint, easeOutSine, easeOutExpo, easeOutCirc, easeOutBack,
easeInOut, easeInOutQuad, easeInOutCubic, easeInOutQuart, easeInOutQuint, easeInOutSine, easeInOutExpo, easeInOutCirc, easeInOutBack

For control-point-mappings, see [compass-ceaser-easing](https://github.com/jhardy/compass-ceaser-easing).

Add [bez](https://github.com/rdallasgray/bez) to your setup in order to provide fallback for cubic-bezier-easings.