| 1 |
define([ |
| 2 |
"dojo/_base/declare", |
| 3 |
"dojo/dom", |
| 4 |
"./_WidgetBase", |
| 5 |
"./_TemplatedMixin", |
| 6 |
"./_Contained", |
| 7 |
"dojo/text!./templates/MenuSeparator.html" |
| 8 |
], function(declare, dom, _WidgetBase, _TemplatedMixin, _Contained, template){ |
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
return declare("dijit.MenuSeparator", [_WidgetBase, _TemplatedMixin, _Contained], { |
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
templateString: template, |
| 18 |
|
| 19 |
buildRendering: function(){ |
| 20 |
this.inherited(arguments); |
| 21 |
dom.setSelectable(this.domNode, false); |
| 22 |
}, |
| 23 |
|
| 24 |
isFocusable: function(){ |
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
return false; |
| 31 |
} |
| 32 |
}); |
| 33 |
}); |