Sha256: fe2aaeb593e77d1800d1d368842bece8b327f77d28ff501d983d9fa48aa30216

Contents?: true

Size: 853 Bytes

Versions: 13

Compression:

Stored size: 853 Bytes

Contents

/*!
 * jQuery UI Tabbable 1.12.1
 * 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

13 entries across 13 versions & 3 rubygems

Version Path
ext_yarn-0.6.0 vendor/jquery-ui/ui/tabbable.js
ext_yarn-0.5.0 vendor/jquery-ui/ui/tabbable.js
ext_yarn-0.4.0 vendor/jquery-ui/ui/tabbable.js
ext_yarn-0.3.1 vendor/jquery-ui/ui/tabbable.js
ext_yarn-0.3.0 vendor/jquery-ui/ui/tabbable.js
ext_yarn-0.2.0 vendor/jquery-ui/ui/tabbable.js
ext_yarn-0.1.2 node_modules/jquery-ui/ui/tabbable.js
ext_yarn-0.1.1 node_modules/jquery-ui/ui/tabbable.js
ext_yarn-0.1.0 node_modules/jquery-ui/ui/tabbable.js
ext_sprockets-0.1.6 node_modules/jquery-ui/ui/tabbable.js
ext_sprockets-0.1.5 node_modules/jquery-ui/ui/tabbable.js
ext_sprockets-0.1.1 node_modules/jquery-ui/ui/tabbable.js
date_picker-0.0.9 test/dummy/vendor/assets/components/jquery-ui/ui/tabbable.js