]>
git.proxmox.com Git - extjs.git/blob - extjs/examples/classic/neptune-components/app/view/menu/Menus.js
1 Ext
.define('Neptune.view.menu.Menus', function() {
8 { text
: 'icon', iconCls
: 'feed' },
9 { checked
: true, text
: 'check item' },
10 { text
: 'plain item', plain
: true },
11 { text
: 'Sub Menu', menu
: [
14 { xtype
: 'menucheckitem', text
: 'check icon', iconCls
: 'feed' },
15 { checked
: false, text
: 'check icon right', iconCls
: 'feed', iconAlign
: 'right' },
16 { text
: 'icon menu', iconCls
: 'feed', menu
: [
19 { text
: 'icon right menu', iconCls
: 'feed', iconAlign
: 'right', menu
: [
22 { checked
: true, text
: 'check icon right menu', iconCls
: 'feed', iconAlign
: 'right', menu
: [
25 { text
: 'icon right', iconCls
: 'feed', iconAlign
: 'right' },
26 { text
: 'some awesome<br/>wrapping text' },
27 { xtype
: 'textfield' },
29 { xtype
: 'numberfield' },
30 {text
: 'Checked Option', checked
: true, group
: 'opts' + count
},
31 {text
: 'Unchecked Option', checked
: false, group
: 'opts' + count
},
32 {text
: 'Ck Option Menu', checked
: true, group
: 'grp' + count
, menu
: [
35 {text
: 'Ck Opt Menu Icon', iconCls
: 'feed', checked
: true, group
: 'foo' + count
, menu
: [
38 {text
: 'Ck Opt Icon', iconCls
: 'feed', checked
: true, group
: 'bar' + count
},
39 {text
: 'Ck Opt Icon Right', iconCls
: 'feed', iconAlign
: 'right', checked
: true, group
: 'baz' + count
}
44 extend
: 'Ext.container.Container',
61 { xtype
: 'component', html
: '<h3>showSeparator: true</h3>' },
62 { xtype
: 'component', html
: '<h3>showSeparator: false</h3>' },
63 { xtype
: 'component', html
: '<h3>plain: true</h3>' },
64 { items
: getItems(), showSeparator
: true },
65 { items
: getItems(), showSeparator
: false },
66 { items
: getItems(), plain
: true }