Skip to content

289420843/zscroller

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zscroller


dom scroller based on zynga scroller

NPM version gemnasium deps node version npm download

Usage

import DOMScroller from 'zscroller/lib/DOMScroller';
var domScroller = new DOMScroller(contentNode, options);

Example

http://localhost:8000/examples/

online example: http://yiminghe.github.io/zscroller/

install

zscroller

API

options

most same with zynga scroller, extra:

name description type default
scrollbars whether show scrollbars bool false
onScroll onScroll callback () => void null

method

Test Case

npm test
npm run chrome-test

Coverage

npm run coverage

open coverage/ dir

License

zscroller is released under the MIT license.

About

dom scroller based on zynga scroller

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 98.3%
  • CSS 1.7%