Note: This standard element function is not relevant for Chatbox.
Scrolls the page to the element using an animation.
The scrollTo()
function returns a Promise that is resolved when the
animated scroll is complete and the element is now in view.
To scroll to a specific location on the page, see the wix-window-frontend
scrollTo()
function.
Calling the scrollTo()
function on an element in a repeated item that
is selected from the global scope causes
an error.