@blinkk/degu
    Preparing search index...

    Function getScrollTopWithoutTransforms

    • Gets the Y distance of the element from the top of the document without regard to any transforms applied.

        const top = dom.getScrollTopWithoutTransforms(el);
      window.scroll(0, top);

      Parameters

      • el: HTMLElement

      Returns number