utils/dom/getpositionedancestor
module
Functions
getPositionedAncestor( element? ) → HTMLElement | nullmodule:utils/dom/getpositionedancestor~getPositionedAncestorFor a given element, returns the nearest ancestor element which CSS position is not "static".
Parameters
element?: HTMLElementThe native DOM element to be checked.
Returns
HTMLElement | null