is-invisible
v0.1.0
Published
Checks if a DOM element is truly invisible
Downloads
1
Readme
is-invisible
Checks if a DOM element is truly invisible
Display focus indicator for the active intractable element in a webpage.
Acknowledgement
true-visibility by @jasonfarrell is the origin of this module.
Usage
npm i is-invisible --save
const inInvisible = require('is-invisible');
// either
Element.protoType.inInvisible = function() {
return inInvisible(this);
}
// or
inInvisible(node);
Contributing
Please refer Contributing guidelines to enhance your contribution experience.