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.
15 lines
463 B
15 lines
463 B
8 years ago
|
Demo.ValueChooserPane = BI.inherit(BI.Widget, {
|
||
|
props: {
|
||
|
baseCls: "demo-value-chooser-pane"
|
||
|
},
|
||
|
render: function () {
|
||
|
return {
|
||
|
type: "bi.value_chooser_pane",
|
||
|
items: BI.deepClone(Demo.CONSTANTS.ITEMS),
|
||
|
itemsCreator: function (op, callback) {
|
||
|
callback(BI.deepClone(Demo.CONSTANTS.ITEMS));
|
||
|
}
|
||
|
};
|
||
|
}
|
||
|
});
|
||
|
BI.shortcut("demo.value_chooser_pane", Demo.ValueChooserPane);
|