There was an error while loading. Please reload this page.
Introduced 3.1.0
3.1.0
Reports if an element is visible or not - not necessarily within the viewport but generally is the element visible somewhere on the page.
let button = document.querySelector('button'); let buttonVisible = isVisible(button); // true/false