MCPcopy Index your code
hub / github.com/JsAaron/jQuery / isHidden

Function isHidden

2.0.3/2.0.3.js:6218–6223  ·  view source on GitHub ↗
( elem, el )

Source from the content-addressed store, hash-verified

6216 }
6217
6218 function isHidden( elem, el ) {
6219 // isHidden might be called from jQuery#filter function;
6220 // in that case, element will be second argument
6221 elem = el || elem;
6222 return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem );
6223 }
6224
6225// NOTE: we've included the "window" in window.getComputedStyle
6226// because jsdom on node.js will break without it.

Callers 3

showHideFunction · 0.70
2.0.3.jsFile · 0.70
defaultPrefilterFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected