horizontal-scroller
v1.0.7
Published
~2kB Horizontal Scrolling Widget in Pure JS + CSS
Downloads
12
Readme
Horizontal Scroller Widget
~2kB Horizontal Scrolling Widget in Pure JS + CSS. Features: ES6, WebPack, LESS. CasperJS tests!
View Demo at http://www.danlevy.net/horizontal-scroller/
Preview
Features
- Supports: Single, Double, & Long Click w/ Acceleration
- Universal JS Module - UMD plus embedded CSS
- Uses GPU Acceleration/caching
- Minimal required base style (see source of
docs/index.html
)
Install
npm install horizontal-scroller
JS Script:
// Example usage:
scrollerUI = Scroller(document.querySelector('.scroller'))