Skip to content

Allows a user to scroll to an element using a nice simple helper method for jQuery

Notifications You must be signed in to change notification settings

DrogoNevets/ScrollToElement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ScrollToElement

Allows a user to scroll to an element using a nice simple helper method for jQuery

Usage

$([selector]).scrollToElement([options]);

Options

Options are otpional and do not need to be present. If absent it will simply scroll to the top of the selected element.

Options are an object value with speed and offset

{ speed: [int] // Speed at which to scroll in milliseconds - Default: 2000 speed: [int] // Scroll to this offset of element - Default: 0 }

About

Allows a user to scroll to an element using a nice simple helper method for jQuery

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published