All Downloads are FREE. Search and download functionalities are using the official Maven repository.

assets.lib.jquery.src.css.var.isHidden.js Maven / Gradle / Ivy

define([
	"../../core",
	"../../selector"
	// css is assumed
], function( jQuery ) {

	return function( elem, el ) {
		// isHidden might be called from jQuery#filter function;
		// in that case, element will be second argument
		elem = el || elem;
		return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem );
	};
});




© 2015 - 2025 Weber Informatics LLC | Privacy Policy