Scrolls the specified element into the visible area of the document.
object.ScrollIntoView ([alignToTop])
DomTextRange Object
alignToTop: Optional. Boolean that indicates the type of the align.
One of the following values:
Value | Description |
false | The bottom of the element will be aligned to the bottom of the scrollable ancestor object. |
true | Default. The top of the element will be aligned to the top of the scrollable ancestor object. |
None