rsdn-scroll-js

1.0.2 • Public • Published

RSDN SCROLL JS

Setting

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

Usages

scroll$(config)

config

Property Type Description
root string Selector of element (id,class,tagname,...)
length number length of list item
itemHeight number height of item
totalItemShow number Total item show

Example

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

Readme

Keywords

none

Package Sidebar

Install

npm i rsdn-scroll-js

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

93.3 kB

Total Files

4

Last publish

Collaborators

  • playlistduong