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
Optional boolean to add the scroll offset of the document. Default is false.
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.