You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
722 B
33 lines
722 B
define([ |
|
"dojo/_base/declare", // declare |
|
"dojo/dom", // dom.setSelectable |
|
"./_WidgetBase", |
|
"./_TemplatedMixin", |
|
"./_Contained", |
|
"dojo/text!./templates/MenuSeparator.html" |
|
], function(declare, dom, _WidgetBase, _TemplatedMixin, _Contained, template){ |
|
|
|
// module: |
|
// dijit/MenuSeparator |
|
|
|
return declare("dijit.MenuSeparator", [_WidgetBase, _TemplatedMixin, _Contained], { |
|
// summary: |
|
// A line between two menu items |
|
|
|
templateString: template, |
|
|
|
buildRendering: function(){ |
|
this.inherited(arguments); |
|
dom.setSelectable(this.domNode, false); |
|
}, |
|
|
|
isFocusable: function(){ |
|
// summary: |
|
// Override to always return false |
|
// tags: |
|
// protected |
|
|
|
return false; // Boolean |
|
} |
|
}); |
|
});
|
|
|