Use this plugin to add scrolling to touch enabled web pages. It is compatible with jQuery 1.7.0+ and passes JSLint.
Works with iOS5+ (Stock browser) and Android 3.2+ (Chrome) and of course all modern desktop browsers (IE9+ and later version of Chrome, Safari, and Firefox.
IE9 may require edge settings in the head section:
Set this property to determine how the drag event propagates.
`_stop_now_`: Prevent default behavior and stop drag event frompropagating immediatelyevent_obj;event_obj;'_stop_all_': Prevent default behavior and stop drag event frompropagatingevent_obj;event_obj;'_stop_default_': Prevent default behaviordefault : Does not affect event behavior
Support x scrolling. Default
Support y scrolling. Default
Affects scroll "friction." Default is 0.001.
Function executed when scrolling stops. The function receives the
_$scroll_box_ as the argument.
2015-2017 Michael S. Mikowski (mike[dot]mikowski[at]gmail[dotcom])
Dual licensed under the MIT or GPL Version 2 http://jquery.org/license
First public npm release.
_on_stop_fn_ callback which is fired after
scroll animation stops.
Added support for the
body element, update docs, README, and demo.
If you want to help out, like all jQuery plugins this is hosted at GitHub. Any improvements or suggestions are welcome! You can reach me at mike[dot]mikowski[at]gmail[dotcom].
If you are considering replacing jQuery with a "framwork", please consider if you really want an SPA framework.