Photo Sphere Viewer
    Preparing search index...

    Function getPosition

    • Gets the position of an element in the viewport without reflow Will gives the same result as getBoundingClientRect() as soon as there are no CSS transforms

      Parameters

      • el: HTMLElement

      Returns Point