Node Promiscuous Modules

    skrl

    1.0.1 • Public • Published

    skrl

    Scroll content by wheel & touches

    Install

    npm install --save skrl
    component install andrepolischuk/skrl

    Usage

    var scroll = skrl(id[, params, callback]);

    id

    ID of scroller DOM element

    params.reverse

    Reverse scrolling enable

    params.interval

    Scrolling interval (px)

    callback

    Scrolling callback (get curent offset attribute)

    API

    skrl.el

    Scroller area

    skrl.go(offset)

    Scroll to defined offset (px)

    License

    MIT

    Install

    npm i skrl

    DownloadsWeekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • andrepolischuk