Module License: MIT
Added by: Sam Deering
Angular directive to scroll to element by selector.
Requires jQuery. Soon, there will be a non-jQuery version as well.
bower install angular-scrollto --save
npm install angular-scrollto --save
Use as directive
<a href="" scroll-to="#element" offset="0" container="html, body">Go to element</a>
You will scroll to me
Element to scoll to when current element is clicked.
Default value: 0
Number of pixels to offset from the top.
Default value: 150
Length of time, in milliseconds, the animation will take.
Default value: html, body
The container element to scroll.
Module stats last updated: 2017-12-08 16:00:04
Disclaimer: Some data on this page may have been gathered from the authors GitHub respository. If you see any mistakes or outdated information please let us know. Thanks!