vis-util
    Preparing search index...

    Function getAbsoluteTop

    • Retrieve the absolute top value of a DOM element.

      Parameters

      • elem: Element

        A dom element, for example a div.

      Returns number

      The absolute top position of this element in the browser page.