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

Function isHidden

2.0.3/Css.js:51–56  ·  view source on GitHub ↗
(elem, el)

Source from the content-addressed store, hash-verified

49 }
50
51 function isHidden(elem, el) {
52 // isHidden might be called from jQuery#filter function;
53 // in that case, element will be second argument
54 elem = el || elem;
55 return jQuery.css(elem, "display") === "none" || !jQuery.contains(elem.ownerDocument, elem);
56 }
57
58 // NOTE: we've included the "window" in window.getComputedStyle
59 // because jsdom on node.js will break without it.

Callers 3

showHideFunction · 0.70
Css.jsFile · 0.70
defaultPrefilterFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected