A simple wrapper around Trackpad Scroll Emulator.
ember install ember-scrollable
The component accepts the following options:
horizontal
: Enables horizontal scrolling (default:false
)autoHide
: Enables auto hiding of the scrollbars on mouse out (default:true
)scrollTo
: Set this property to manually scroll to a certain positiononScroll(scrollOffset, event)
: action triggered whenever the user scrolls, called with the currentscrollOffset
and the original scrollevent
onScrolledToBottom
: action triggered when user scrolled to the bottom
git clone https://github.com/alphasights/ember-scrollable.git
npm install && bower install
ember server
ember test --server