Kin Blas
036e3ebd90
Sync up the scrollview code with the jquery-mobile mainline.
2010-12-03 09:46:49 -08:00
Kin Blas
fbaa3c1288
Make sure newX and newY are initialized to the current scroll offsets. This fixes a scroll propagation bug that was resetting the non-scrolled dimension to zero.
...
Replaced all occurences of "horizontal" and "vertical" with "x" and "y".
Modified samples to use data-scroll="x|y|true".
Implemented public scrollTo(0 function that gives an optional duration parameter for animated scrolling.
2010-11-30 15:20:10 -08:00
Kin Blas
910d0ded17
- Refactored some code.
...
- Got scroll propagation working for the case where we hit the extremes of a horizontal or vertical scrollview when dragging.
2010-11-23 13:02:12 -08:00
Kin Blas
cc34525663
Fixed direction locking and propagation.
2010-11-23 09:26:43 -08:00
Kin Blas
cdf5311cd2
Rough support for scroll propagation. Still some bugs to fix.
2010-11-22 17:00:58 -08:00