0.1.0 • Published 8 years ago

is-invisible v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

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.