@arcmantle/library
    Preparing search index...

    Function scrollIntoView

    • Scrolls an element into view of its container. If the element is already in view, nothing will happen.

      Parameters

      • element: HTMLElement
      • container: HTMLElement
      • direction: "both" | "horizontal" | "vertical" = 'vertical'
      • behavior: "auto" | "smooth" = 'smooth'

      Returns void