Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 413 Bytes

ScrollTo.md

File metadata and controls

13 lines (9 loc) · 413 Bytes

ScrollTo

Installation

$('[data-scrollto]').scrollTo(options);

Available options

  • speed - Controlls speed of scrolling. Larger the number is, longer the scrolling lasts. Default: 25.
  • shift - Controlls how far from destination point viewport will stop. Negative values will stop earlier and positive after specified point.
  • debug - Debug mode. Default: false.