Sha256: c791986c240b3e3d07686a0065892aa137341761cc469286d779184b288cdc8b
Contents?: true
Size: 853 Bytes
Versions: 23
Compression:
Stored size: 853 Bytes
Contents
/*! * jQuery UI Tabbable 1.12.0 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ //>>label: :tabbable Selector //>>group: Core //>>description: Selects elements which can be tabbed to. //>>docs: http://api.jqueryui.com/tabbable-selector/ ( function( factory ) { if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. define( [ "jquery", "./version", "./focusable" ], factory ); } else { // Browser globals factory( jQuery ); } } ( function( $ ) { return $.extend( $.expr[ ":" ], { tabbable: function( element ) { var tabIndex = $.attr( element, "tabindex" ), hasTabindex = tabIndex != null; return ( !hasTabindex || tabIndex >= 0 ) && $.ui.focusable( element, hasTabindex ); } } ); } ) );
Version data entries
23 entries across 23 versions & 1 rubygems