Skip to content

Scroll the browser window or an element to Y position, optionally animate it.

Notifications You must be signed in to change notification settings

voltraco/scrolltoy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

__      __________/\________________
  |    /         / /
  |   /  __     / /   /
  |  /  /\ \   | / ——/—— /__   __
  | /  /  \/   /    /   /  /  /  \   /
  |/   \__/\__/\___/\__/   \_/__/ \_/

Development sponsored by voltra.co

SYNOPSIS

Scroll window (or element) to Y, optionally animate it.

const scrollToY = require('scrolltoy')

const position = n
const time = 200

scrolltoy(window, position, time)
npm install voltraco/scrolltoy

About

Scroll the browser window or an element to Y position, optionally animate it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published