Tool-Shack
    Preparing search index...

    Function getElementOffset

    • Get element's offset relative to the whole page

      Parameters

      • element: HTMLElement

        HTMLElement for which should be calculated offset

      Returns { left: number; top: number }

      Object with top and left offset value