1. scrollIntoView

    The `Element.scrollIntoView()` method scrolls the current element into the visible area of the browser window. Parameters can be provided to set the position inside the visible area as well as whether scrolling should be instant or smooth.

  2. Element.scrollIntoViewIfNeeded()

    If the element is fully within the visible area of the viewport, it does nothing. Otherwise, the element is scrolled into view. A proprietary variant of the standard `Element.scrollIntoView()` method.

  3. element api: scrollintoview

  4. element api: scrollintoviewifneeded

  5. element api: scrollintoview: `scrollintoviewoptions`