Scrolls an element to a given x/y scrollposition in the supplied duration. Has multiple different easing functions to choose from.
Optional
300 Copy
300
easeOutCuaic Copy
easeOutCuaic
a promise that resolves when the scroll finishes.
Scrolls an element to a given x/y scrollposition in the supplied duration. Has multiple different easing functions to choose from.