Skip to content
This repository has been archived by the owner on Mar 25, 2018. It is now read-only.

oyvindhermansen/scrollzy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scrollzy

Install

$ npm install scrollzy

Usage

import scrollzy from 'scrollzy'

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

Options

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

License

MIT