1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
| define([
| "dojo/_base/declare", // declare
| "dojo/dom", // dom.setSelectable
| "./_Widget",
| "./_TemplatedMixin"
| ], function(declare, dom, _Widget, _TemplatedMixin){
|
| // module:
| // dijit/ToolbarSeparator
|
|
| return declare("dijit.ToolbarSeparator", [_Widget, _TemplatedMixin], {
| // summary:
| // A spacer between two `dijit.Toolbar` items
|
| templateString: '<div class="dijitToolbarSeparator dijitInline" role="presentation"></div>',
|
| buildRendering: function(){
| this.inherited(arguments);
| dom.setSelectable(this.domNode, false);
| },
|
| isFocusable: function(){
| // summary:
| // This widget isn't focusable, so pass along that fact.
| // tags:
| // protected
| return false;
| }
| });
| });
|
|