Slider Touchable
A tiny plugin to for your html slider be 'touchable'.
###Install
$ bower install slider-touchable
###Usage
- Add a CSS3 Transition rule in your slider.
transition: all .3s ease-in-out;
-webkit-transition: all .3s ease-in-out;
-moz-transition: all .3s ease-in-out;- Instantiate SliderTouchable passing the element wrapper class name of the slider, and the slider class name.
window.SliderTouchable({
'element': '.slider-wrapper',
'slider': '.slider'
});###Dev Any contribution is welcome ;)