Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ext.define('VE.view.menu.Menu', {
- extend: 'Ext.button.Split',
- alias: 'widget.menup',
- text: 'Options',
- // display a dropdown menu:
- initComponent: function() {
- this.items =
- [
- {
- menu: new Ext.menu.Menu({
- xtype: 'menu',
- width: 120,
- items: [
- {
- xtype: 'menuitem',
- text: 'Menu Item'
- },
- {
- xtype: 'menuitem',
- text: 'Menu Item'
- },
- {
- xtype: 'menuitem',
- text: 'Menu Item'
- }
- ]
- })
- }
- ];
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement