Skip to content
JavaScript HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
example
src
.eslintrc.json
.gitignore
README.md
package.json

README.md

BigScroll

Inspired by Fullpage.js, yet allowing to decide on animation effects yourself, and only 1.77kb minified.

Example here.

Options

Option Type Description
scrollDirection str Scroll direction ("down" or "up").
scrollCount num Consecutive scrollings without changing direction.
minScrollCount num Stop decrementing scrollCount at this value.
maxScrollCount num Stop incrementing scrollCount at this value.
duration num Scroll animation duration in miliseconds.
onScrollStart func Fires when wheel / touchmove starts. Parameters [direction, scrollCount]
onScrollEnd func Fires when wheel / touchmove ends. Parameters [direction, scrollCount]

Methods

Method Parameters Description
setScrollCount newScrollCount Reset scrollCount to a desired value.
You can’t perform that action at this time.