Champagne.js
Version 0.1.0
Change Log
07.14.13
Add effect option04.24.13
Cache $el, add Grunt
Usage
- Style grid layout with CSS
- Include latest jQuery and jquery.champagne.js
- Initialize champagne() on parent element
Options
beginningDelay
: integer (default: 300), delay before animation startschildrenSelector
: string (default: undefined), choose the selector of the children to fade indelayBetween
: integer (default: 50), delay between each element's animationduration
: integer (default: 500), duration of each element's animationeffect
: string (default: 'fadeIn'),'fadeIn'
,'slideDown'
or'addClass'
(adds class.visible
)
Callbacks
onFinish
: called once all elements are faded in
Future Considerations
- Add Less Grunt task
- CSS3 only animations
- Use of other transitions
Contributions
- Thanks @pdud for adding effects
Copyright (c) 2012 Fresh Tilled Soil
MIT License, http://www.opensource.org/licenses/mit-license.php