Function scrollToElement

  • Scrolls the window so the element is vertically centered.

    Parameters

    Returns void