The famo.us tutorials shows how to use a ScrollView which doesn't seem to provide a horizontal scrolling method.
So I was wondering how do I implement horizontal scrolling for my famo.us app (my personal website).
The famo.us tutorials shows how to use a ScrollView which doesn't seem to provide a horizontal scrolling method.
So I was wondering how do I implement horizontal scrolling for my famo.us app (my personal website).
Yes. To enable Horizontal scrolling you simply pass the direction option to the Scrollview constructor..
var scrollview = new Scrollview({
direction: Utility.Direction.X
});
Utility.Direction.X actually is a pretty way of saying 0. So this will work as well..
var scrollview = new Scrollview({
direction: 0
});
Good Luck!