is-invisible

0.1.0 • Public • Published

is-invisible

Checks if a DOM element is truly invisible

Travis MIT License PRs Welcome

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.

Readme

Keywords

Package Sidebar

Install

npm i is-invisible

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • sarbbottam