MCPcopy Create free account
hub / github.com/JsAaron/jQuery / isHidden

Function isHidden

2.1.1/test/jquery-1.11.1.js:4096–4101  ·  view source on GitHub ↗
( elem, el )

Source from the content-addressed store, hash-verified

4094var cssExpand = [ "Top", "Right", "Bottom", "Left" ];
4095
4096var isHidden = function( elem, el ) {
4097 // isHidden might be called from jQuery#filter function;
4098 // in that case, element will be second argument
4099 elem = el || elem;
4100 return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem );
4101 };
4102
4103
4104

Callers 3

showHideFunction · 0.70
jquery-1.11.1.jsFile · 0.70
defaultPrefilterFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected