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.
This version supports simulated scrolling via the CSS3 transform property by default, but also supports an option for positioning the old-fashioned way with top and left properties.
Still some code clean-up to do, but folks can start playing with it.
Some items/issues left to look into:
- Experiment with event delegation so we can implement nested scrollviews.
- Implement scroll direction locking.
- Decide whether to conditionally inject clip/view markup.
- Decide on final ui class names.
- Decide on how scrolling behavior is actually invoked. (data-* attribute or class)
- Decide on final set of notifications we'll need to fire off.
- Add an API so that scroll position can be adjusted after a resize/orientation change.
- Documentation that describes potential problems with performance, memory usage, etc, and workarounds.