Sha256: bab9dd4f658c75e553f8caa06e92a817ac1f143b50bc703964ebdff6cf053b64

Contents?: true

Size: 1.11 KB

Versions: 8

Compression:

Stored size: 1.11 KB

Contents

define("dijit/Toolbar", [
	"require",
	"dojo/_base/declare", // declare
	"dojo/has",
	"dojo/keys", // keys.LEFT_ARROW keys.RIGHT_ARROW
	"dojo/ready",
	"./_Widget",
	"./_KeyNavContainer",
	"./_TemplatedMixin"
], function(require, declare, has, keys, ready, _Widget, _KeyNavContainer, _TemplatedMixin){

	// module:
	//		dijit/Toolbar


	// Back compat w/1.6, remove for 2.0
	if(has("dijit-legacy-requires")){
		ready(0, function(){
			var requires = ["dijit/ToolbarSeparator"];
			require(requires);	// use indirection so modules not rolled into a build
		});
	}

	return declare("dijit.Toolbar", [_Widget, _TemplatedMixin, _KeyNavContainer], {
		// summary:
		//		A Toolbar widget, used to hold things like `dijit.Editor` buttons

		templateString:
			'<div class="dijit" role="toolbar" tabIndex="${tabIndex}" data-dojo-attach-point="containerNode">' +
			'</div>',

		baseClass: "dijitToolbar",

		postCreate: function(){
			this.inherited(arguments);

			this.connectKeyNavHandlers(
				this.isLeftToRight() ? [keys.LEFT_ARROW] : [keys.RIGHT_ARROW],
				this.isLeftToRight() ? [keys.RIGHT_ARROW] : [keys.LEFT_ARROW]
			);
		}
	});
});

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
dojo_rails-0.0.2 vendor/assets/javascripts/dijit/Toolbar.js.uncompressed.js
dojo_rails-0.0.1 vendor/assets/javascripts/dijit/Toolbar.js.uncompressed.js
dijit-rails-0.11.0 vendor/assets/javascripts/dijit/Toolbar.js.uncompressed.js
dijit-rails-0.10.4 vendor/assets/javascripts/dijit/Toolbar.js.uncompressed.js
dijit-rails-0.10.3 vendor/assets/javascripts/dijit/Toolbar.js.uncompressed.js
dijit-rails-0.10.2 vendor/assets/javascripts/dijit/Toolbar.js.uncompressed.js
dijit-rails-0.10.1 vendor/assets/javascripts/dijit/Toolbar.js.uncompressed.js
dijit-rails-0.10.0 vendor/assets/javascripts/dijit/Toolbar.js.uncompressed.js