globalScrollIntoViewForY()
Scrolls the page vertically to the viewport section containing the target element.
Example:
ts
globalScrollIntoViewForY(document.getElementById('footer')!);Scrolls the page vertically to the viewport section containing the target element.
Example:
globalScrollIntoViewForY(document.getElementById('footer')!);