NgDocPositionUtils
No documentation has been provided.
Static Methods
static getElementPosition() | ||||||
---|---|---|---|---|---|---|
Getting the position of the element relative to the viewPort, this function is faster than BoundingClientRect, it also takes into account the change in the position of the element through transform | ||||||
Presentation
| ||||||
Parameters
ReturnsPoint |
static getOffsetParent() | ||||||
---|---|---|---|---|---|---|
An implementation of the element.offsetParent function, this implementation closes a bug in Firefox when it returns an offsetParent for elements with position: fixed | ||||||
Presentation
| ||||||
Parameters
ReturnsHTMLElement | null |