utils/dom/getpositionedancestor
module
Functions
getPositionedAncestor( [ element ] ) → null | HTMLElementmodule: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
null | HTMLElement