FunctionsElementCheckVisibilityElementCheckVisibility CallableElementCheckVisibility(el: Element, options?: CheckVisibilityOptions): booleanReturn whether an element is visible or not. Approximate polyfill of Element.checkVisibility(), as its browser support is still somewhat limited (~88% at the time of writing).Parametersel: ElementThe element in questionoptionaloptions: CheckVisibilityOptionsAdditional options to-be passed to Element.checkVisibility()Returns booleanWhether the passed element is visible or not
Return whether an element is visible or not.
Approximate polyfill of
Element.checkVisibility(), as its browser support is still somewhat limited (~88% at the time of writing).