Sha256: 4697af58405a5b85daef78c44e8ab8b91ef46dea931506da770b57ff0072d76c

Contents?: true

Size: 949 Bytes

Versions: 4

Compression:

Stored size: 949 Bytes

Contents

//= require jquery-ui/version
//= require jquery-ui/focusable

/*!
 * jQuery UI Tabbable 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */

//>>label: :tabbable Selector
//>>group: Core
//>>description: Selects elements which can be tabbed to.
//>>docs: https://api.jqueryui.com/tabbable-selector/

( function( factory ) {
	"use strict";

	if ( typeof define === "function" && define.amd ) {

		// AMD. Register as an anonymous module.
		define( [ "jquery", "./version", "./focusable" ], factory );
	} else {

		// Browser globals
		factory( jQuery );
	}
} )( function( $ ) {
"use strict";

return $.extend( $.expr.pseudos, {
	tabbable: function( element ) {
		var tabIndex = $.attr( element, "tabindex" ),
			hasTabindex = tabIndex != null;
		return ( !hasTabindex || tabIndex >= 0 ) && $.ui.focusable( element, hasTabindex );
	}
} );

} );

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
activeadmin-3.2.5 vendor/assets/javascripts/jquery-ui/tabbable.js
activeadmin-3.2.4 vendor/assets/javascripts/jquery-ui/tabbable.js
activeadmin-3.2.3 vendor/assets/javascripts/jquery-ui/tabbable.js
activeadmin-3.2.2 vendor/assets/javascripts/jquery-ui/tabbable.js