29 lines
585 B
JavaScript
29 lines
585 B
JavaScript
|
dojo.provide("dijit.MenuSeparator");
|
||
|
|
||
|
dojo.require("dijit._Widget");
|
||
|
dojo.require("dijit._Templated");
|
||
|
dojo.require("dijit._Contained");
|
||
|
|
||
|
dojo.declare("dijit.MenuSeparator",
|
||
|
[dijit._Widget, dijit._Templated, dijit._Contained],
|
||
|
{
|
||
|
// summary:
|
||
|
// A line between two menu items
|
||
|
|
||
|
templatePath: dojo.moduleUrl("dijit", "templates/MenuSeparator.html"),
|
||
|
|
||
|
postCreate: function(){
|
||
|
dojo.setSelectable(this.domNode, false);
|
||
|
},
|
||
|
|
||
|
isFocusable: function(){
|
||
|
// summary:
|
||
|
// Override to always return false
|
||
|
// tags:
|
||
|
// protected
|
||
|
|
||
|
return false; // Boolean
|
||
|
}
|
||
|
});
|
||
|
|