Sha256: 154aa86976f6fba1c11be0d3d6045ec4a86d785b1a32f7ddc0779710e9ae63c9
Contents?: true
Size: 1.33 KB
Versions: 5
Compression:
Stored size: 1.33 KB
Contents
define("dijit/Toolbar", [ "require", "dojo/_base/declare", // declare "dojo/_base/kernel", "dojo/keys", // keys.LEFT_ARROW keys.RIGHT_ARROW "dojo/ready", "./_Widget", "./_KeyNavContainer", "./_TemplatedMixin" ], function(require, declare, kernel, keys, ready, _Widget, _KeyNavContainer, _TemplatedMixin){ /*===== var _Widget = dijit._Widget; var _KeyNavContainer = dijit._KeyNavContainer; var _TemplatedMixin = dijit._TemplatedMixin; =====*/ // module: // dijit/Toolbar // summary: // A Toolbar widget, used to hold things like `dijit.Editor` buttons // Back compat w/1.6, remove for 2.0 if(!kernel.isAsync){ 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
5 entries across 5 versions & 1 rubygems