You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ryc O'Chet edited this page Jun 3, 2018
·
1 revision
- NOTE: This documentation is for Velocity v2.
Property: ScrollTop
This is used to set the scrollTop property on an element. Unlike other properties it currently only supports px and % units. Internally the scrollTop property is a pixel value, so it will convert from a percentage if that is used.
Please note that the user may attempt to scroll the page while this is animating, so you may wish to put in extra handling to prevent user scrolling while the animation is running.