The pixel position on the Y axis to scroll to
(Default 300) The duration in milliseconds the animation should take
(Default window) The container to scroll instead of the window.
(Default true) By default the animation is stopped when the user manually starts to interact with the scrolling. If you set this to false the scrolling will continue even on interaction Can be a valid selector for document.querySelector() as a string, as well.
Generated using TypeDoc
Can be used to scroll either a container or the whole window to a given position using a smooth animation