You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would be much more useful if it were convenient to:
scroll to an element by specifying an arbitrary selector
scroll to an arbitrary position
The first case is currently supported by retrieving the element via the selector and then passing that to scrollToElement. The second case is only supported if you first get the current scroll position and then use scrollTo.
The text was updated successfully, but these errors were encountered:
This would be much more useful if it were convenient to:
The first case is currently supported by retrieving the element via the selector and then passing that to
scrollToElement
. The second case is only supported if you first get the current scroll position and then usescrollTo
.The text was updated successfully, but these errors were encountered: