UNPKG

dijit

Version:

Dijit provides a complete collection of user interface controls based on Dojo, giving you the power to create web applications that are highly optimized for usability, performance, internationalization, accessibility, but above all deliver an incredible u

34 lines (27 loc) 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 } }); });