Note: This standard element function is not relevant for Chatbox.
Scrolls the page to the element using an animation.
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
scrollTo() function on an element in a repeated item that
is selected from the global scope causes
function scrollTo(): Promise<void>
This function does not take any parameters.
Fulfilled - When the scroll is complete.
Was this helpful?