forked from fanruan/fineui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
570 B
20 lines
570 B
8 years ago
|
Demo.ValueChooserCombo = BI.inherit(BI.Widget, {
|
||
|
props: {
|
||
|
baseCls: "demo-value-chooser-combo"
|
||
|
},
|
||
|
render: function () {
|
||
|
var widget = BI.createWidget({
|
||
|
type: "bi.value_chooser_combo",
|
||
|
itemsCreator: function (op, callback) {
|
||
8 years ago
|
callback(BI.deepClone(Demo.CONSTANTS.ITEMS));
|
||
8 years ago
|
}
|
||
|
});
|
||
|
return {
|
||
|
type: "bi.vertical",
|
||
|
hgap: 200,
|
||
|
vgap: 10,
|
||
|
items: [widget]
|
||
|
};
|
||
|
}
|
||
|
});
|
||
8 years ago
|
BI.shortcut("demo.value_chooser_combo", Demo.ValueChooserCombo);
|