MenuBar.js 569 B

123456789101112131415161718192021222324252627282930313233
  1. /**
  2. * MenuBar.js
  3. *
  4. * Copyright, Moxiecode Systems AB
  5. * Released under LGPL License.
  6. *
  7. * License: http://www.tinymce.com/license
  8. * Contributing: http://www.tinymce.com/contributing
  9. */
  10. /**
  11. * Creates a new menubar.
  12. *
  13. * @-x-less MenuBar.less
  14. * @class tinymce.ui.MenuBar
  15. * @extends tinymce.ui.Container
  16. */
  17. define("tinymce/ui/MenuBar", [
  18. "tinymce/ui/Toolbar"
  19. ], function(Toolbar) {
  20. "use strict";
  21. return Toolbar.extend({
  22. Defaults: {
  23. role: 'menubar',
  24. containerCls: 'menubar',
  25. ariaRoot: true,
  26. defaults: {
  27. type: 'menubutton'
  28. }
  29. }
  30. });
  31. });