Commit graph

3 commits

Author SHA1 Message Date
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
655e98647c Removed style properties for ui-scrollview-clip and ui-scrollview-view from the stylesheet. We now set them progrmatically since they are required.
Added a multi-direction, horizontal and vertical example to the sample page.
2010-11-29 10:55:54 -08:00
Kin Blas
cdf5311cd2 Rough support for scroll propagation. Still some bugs to fix. 2010-11-22 17:00:58 -08:00