Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sturdynut/fadeup
A simple, jQuery plugin for fancy hiding
https://github.com/sturdynut/fadeup
Last synced: 8 days ago
JSON representation
A simple, jQuery plugin for fancy hiding
- Host: GitHub
- URL: https://github.com/sturdynut/fadeup
- Owner: sturdynut
- License: mit
- Created: 2015-04-04T04:11:32.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-17T16:52:24.000Z (about 9 years ago)
- Last Synced: 2024-10-09T18:24:00.652Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 638 KB
- Stars: 7
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# FadeUp
A simple, jQuery plugin for fancy hiding.## Demo
[Live demo here](http://fadeup.herokuapp.com/)## Usage
$(...).fadeUp();
// or
$(...).fadeUp(function(collapsed) {
// Do things
});// or
$(...).fadeUp({
duration: 5000,
easing: 'swing'
}, function(collapsed) {
// Do things
});### Example
Go
...
$(function() {
$('.btn').on('click', function() {
$('.content').fadeUp();
});
});
## Install
Install via bower, npm or copy from the `dist` directory.### Bower:
bower install fadeup
### NPM:
npm install fadeup
### Copy / Pasta:
* [jquery.fadeup.js](https://github.com/sturdynut/fadeUp/raw/master/dist/jquery.fadeup.js)
* [jquery.fadeup.min.js](https://github.com/sturdynut/fadeUp/raw/master/dist/jquery.fadeup.min.js)
* [jquery.fadeup.min.js.map](https://github.com/sturdynut/fadeUp/raw/master/dist/jquery.fadeup.min.js.map)## Browser Support
Chrome, Safari, Firefox, IE 9+## Velocity Integration
[Velocity](http://julian.com/research/velocity/) will be used if available. You don't have to do anything, if it is there, it uses it. #winning.## Issues?
Please submit any issues [here](https://github.com/sturdynut/fadeUp/issues).## Questions?
Hit me up on twitter [@sturdynut](https://twitter.com/sturdynut)