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

Function isHidden

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

Source from the content-addressed store, hash-verified

3990var cssExpand = [ "Top", "Right", "Bottom", "Left" ];
3991
3992var isHidden = function( elem, el ) {
3993 // isHidden might be called from jQuery#filter function;
3994 // in that case, element will be second argument
3995 elem = el || elem;
3996 return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem );
3997 };
3998
3999var rcheckableType = (/^(?:checkbox|radio)$/i);
4000

Callers 3

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

Calls

no outgoing calls

Tested by

no test coverage detected