-
Notifications
You must be signed in to change notification settings - Fork 1
hidden
Toke Voltelen edited this page Dec 3, 2016
·
4 revisions
Test if a given HTML element is technically hidden ('display:none' or 'visibility: hidden').
-
elm
(HTMLElement) - DOM element to test - returns (Boolean) - Is the element technically hidden or not
import hidden from 'vanillajs-browser-helpers/hidden';
hidden(element); // -> true