• Trigger a scroll navigation into a given offset position

    Parameters

    • element: HTMLElement

      Element where the scroll will happen

    • options: ScrollIntoViewOptions

    Returns void