@qooxdoo/framework
Version:
The JS Framework for Coders
52 lines (39 loc) • 1.25 kB
JavaScript
/* ************************************************************************
qooxdoo - the new era of web development
http://qooxdoo.org
Copyright:
2004-2008 1&1 Internet AG, Germany, http://www.1und1.de
License:
MIT: https://opensource.org/licenses/MIT
See the LICENSE file in the project's top-level directory for details.
Authors:
* Sebastian Werner (wpbasti)
************************************************************************ */
/**
* Container for menubar buttons to display a classic application menu.
*/
qx.Class.define("qx.ui.menubar.MenuBar", {
extend: qx.ui.toolbar.ToolBar,
/*
*****************************************************************************
CONSTRUCTOR
*****************************************************************************
*/
construct() {
super();
// ARIA attrs
this.getContentElement().setAttribute("role", "menubar");
},
/*
*****************************************************************************
PROPERTIES
*****************************************************************************
*/
properties: {
/** Appearance of the widget */
appearance: {
refine: true,
init: "menubar"
}
}
});