Function getBoundingClientRectOfHidden

  • Gets the bounding rectangle of an element even if it is unrendered.

    Parameters

    • element: null | Element

      the element on which to call getBoundingClientRect()

    Returns DOMRect

    The bounding client rectange of element.