Hide an element like a weasel. Compatible with iOs Safari/Chrome touch events etc...
Demo available at /test/test.html
###See the demo
- bower install
- npm install
###Use in your own project include weasely.js and jquery and then...
$('#weasely-element').weasely({
hideClass: 'slide-up',
scrollingElement: '.weasely-scroller'
});
Requires a div with the class 'weasely-scroller' next to the element being hidden.