Skip to content
@ng-doc/ui-kit / Class

NgDocPositionUtils

No documentation has been provided.

DeclarationTypeScript
export class NgDocPositionUtils { … }

Members

Static Methods

2
(…): Point
static

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

(…): HTMLElement | null
static

An implementation of the element.offsetParent function, this implementation closes a bug in Firefox when it returns an offsetParent for elements with position: fixed

Symbol
Kind
Class
Scope
@ng-doc/ui-kit
Edit this page