scrolls content of html node to the specific position
node | HTMLElement | html node |
x | number | scroll x position |
y | number | scroll y position |
speed | string | time for scroling |
speed can be defined like "100ms" or "50s" - similar to speed of css animation
Back to top