Returns the offset for the specified container as an Point. The offset is the distance from the top left corner of the container to the top left corner of the document.

  • Parameters

    • container: HTMLElement

      DOM node to return the offset for.

    • scrollOffset: boolean = false

    Returns Point