/scrollzy

A handy scrolling module

Primary LanguageJavaScriptMIT LicenseMIT

scrollzy

Install

$ npm install scrollzy

Usage

import scrollzy from 'scrollzy'

scrollzy({
  trigger: $('#yourButton'),
  scrollTo: $('#scrollHere'),
})

Options

eventType // default: click
speed // default: 1000ms

License

MIT