Skip to content

Adds a method to the Element interface to determine if the given element is currently hidden from view.

Notifications You must be signed in to change notification settings

klickpush/is_hidden.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

is_hidden.js

Adds a method to the Element interface to determine if the given element is currently hidden from view.

<html>
  <body>
    <div class="a"></div>
  </body>
</html>
var tmp = document.getElementsByClassName('a')
for(var i = 0; i < tmp.length; i++){
  console.log(tmp[i].isHidden());
}

Credit

All credit is due to Tokimon on StackOverflow. I've just put it together and made a library out of it.

Contributing

Yes! Please do. For starters we could increase the meaningfulness of this README

About

Adds a method to the Element interface to determine if the given element is currently hidden from view.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published