projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12b6f78
)
examples/bootstrap/sample.js
author
Julian Knowles
<julian@roojs.com>
Mon, 27 Jan 2014 11:45:42 +0000
(19:45 +0800)
committer
Julian Knowles
<julian@roojs.com>
Mon, 27 Jan 2014 11:45:42 +0000
(19:45 +0800)
examples/bootstrap/sample.js
patch
|
blob
|
history
diff --git
a/examples/bootstrap/sample.js
b/examples/bootstrap/sample.js
index
6045f3e
..
2ed813a
100644
(file)
--- a/
examples/bootstrap/sample.js
+++ b/
examples/bootstrap/sample.js
@@
-1119,7
+1119,31
@@
Roo.example.bootstrap = new Roo.XComponent({
{
xtype: 'Button',
xns: Roo.bootstrap,
- html: 'Action'
+ html: 'Action',
+ menu: {
+ xtype: 'Menu',
+ xns: Roo.bootstrap,
+ items: [
+ {
+ xtype: 'MenuItem',
+ xns: Roo.bootstrap,
+ html: "hello aaa",
+ href : 'http://roojs.com'
+ },
+ {
+ xtype: 'MenuItem',
+ xns: Roo.bootstrap,
+ html: "hello aaa",
+ href : 'http://roojs.com'
+ },
+ {
+ xtype: 'MenuItem',
+ xns: Roo.bootstrap,
+ html: "hello aaa",
+ href : 'http://roojs.com'
+ }
+ ]
+ }
}
]
}