ElementCheckVisibility
Callable
Parameters
el: Element
The element in question
optionaloptions: CheckVisibilityOptions
Additional options to-be passed to
Element.checkVisibility()
Returns boolean
- Whether the passed element is visible or not
The element in question
Additional options to-be passed to Element.checkVisibility()
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).