antiscroller

1.0.0 • Public • Published

antiscroller

OS X Lion style cross-browser native scrolling on the web.

A fork from original Antiscroll library with no jQuery dependency.

Usage

Install using NPM

npm i antiscroller

Add using UNPKG

<script src="https://unpkg.com/antiscroller"></script>

Initialize with the container

<div id="container" class="antiscroll-wrap">
    <div class="antiscroll-inner">
        <!-- Your scrollable large content -->
    </div>
</div>
import Antiscroll from 'antiscroller'; //for ES6

var container = document.getElementById("container");
var scroller = new Antiscroll(container, {
    autoHide: false
});

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i antiscroller

      Weekly Downloads

      2

      Version

      1.0.0

      License

      MIT

      Unpacked Size

      37.8 kB

      Total Files

      6

      Last publish

      Collaborators

      • arajajyothibabu