scrollzy

2.0.1 • Public • Published

scrollzy

Install

$ npm install scrollzy

Usage

import scrollzy from 'scrollzy'

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

Options

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

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i scrollzy

Weekly Downloads

1

Version

2.0.1

License

MIT

Last publish

Collaborators

  • oyvindhermansen