File: demos/startbootstrap-sb-admin-2/bower_components/jquery/src/css/hiddenVisibleSelectors.js

Recommend this page to a friend!
  Classes of Emmanuel Podvin   Blapy   demos/startbootstrap-sb-admin-2/bower_components/jquery/src/css/hiddenVisibleSelectors.js   Download  
File: demos/startbootstrap-sb-admin-2/bower_components/jquery/src/css/hiddenVisibleSelectors.js
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Blapy
jQuery plugin to load linked pages using AJAX
Author: By
Last change: Update of demos/startbootstrap-sb-admin-2/bower_components/jquery/src/css/hiddenVisibleSelectors.js
Date: 3 years ago
Size: 380 bytes
 

Contents

Class file image Download
define([ "../core", "../selector" ], function( jQuery ) { jQuery.expr.filters.hidden = function( elem ) { // Support: Opera <= 12.12 // Opera reports offsetWidths and offsetHeights less than zero on some elements return elem.offsetWidth <= 0 && elem.offsetHeight <= 0; }; jQuery.expr.filters.visible = function( elem ) { return !jQuery.expr.filters.hidden( elem ); }; });