projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df25eb8
)
examples/bootstrap/sample.js
author
Julian Knowles
<julian@roojs.com>
Mon, 27 Jan 2014 07:52:12 +0000
(15:52 +0800)
committer
Julian Knowles
<julian@roojs.com>
Mon, 27 Jan 2014 07:52:12 +0000
(15:52 +0800)
examples/bootstrap/sample.js
patch
|
blob
|
history
diff --git
a/examples/bootstrap/sample.js
b/examples/bootstrap/sample.js
index
1093034
..
36c69cc
100644
(file)
--- a/
examples/bootstrap/sample.js
+++ b/
examples/bootstrap/sample.js
@@
-650,6
+650,33
@@
Roo.example.bootstrap = new Roo.XComponent({
offtext: 'OFF',
defaulton: false,
weight: 'danger'
+ },
+ {
+ xtype: 'Button',
+ xns: Roo.bootstrap,
+ type: 'switch',
+ ontext: 'ON',
+ offtext: 'OFF',
+ defaulton: false,
+ weight: 'black'
+ },
+ {
+ xtype: 'Button',
+ xns: Roo.bootstrap,
+ type: 'switch',
+ ontext: 'ON',
+ offtext: 'OFF',
+ defaulton: false,
+ weight: 'gray'
+ },
+ {
+ xtype: 'Button',
+ xns: Roo.bootstrap,
+ type: 'switch',
+ ontext: 'ON',
+ offtext: 'OFF',
+ defaulton: false,
+ weight: 'white'
}
]
}