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
571 B
20 lines
571 B
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) { |
|
callback(BI.deepClone(Demo.MULTI_COMBO_ITEMS)); |
|
} |
|
}); |
|
return { |
|
type: "bi.vertical", |
|
hgap: 200, |
|
vgap: 10, |
|
items: [widget] |
|
}; |
|
} |
|
}); |
|
$.shortcut("demo.value_chooser_combo", Demo.ValueChooserCombo); |