/pagewheelz

Fun, acceleration based scroller for browser window.

Primary LanguageJavaScript

PageWheelz

Wheelz extension for use on a the window.
Demo here

Installation

Include PageWheelz with scripts tag

<script src="./dist/pagewheelz.min.js"></script>

or with npm and import

npm install wheelz --save
// import needed modules from npm
import PageWheelz from 'pagewheelz';

Usage

Wheelz accepts several options defined as follows.

var wheelz = new PageWheelz();

For the purpose of keeping the native window scrollbar, PageWheelz requires a wrapper over a content with attribute data-wheelz.