1.0.2 • Published 5 years ago

rsdn-scroll-js v1.0.2

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

RSDN SCROLL JS

Setting

$ npm install rsdn-scroll-js -D
or
$ yarn add rsdn-scroll-js -D

Usages

scroll$(config)

config

PropertyTypeDescription
rootstringSelector of element (id,class,tagname,...)
lengthnumberlength of list item
itemHeightnumberheight of item
totalItemShownumberTotal item show

Example

scroll$({ 
    root: '#calendar', 
    length: 10, 
    itemHeight: 80, 
    totalItemShow: 3 
})