fineui是帆软报表和BI产品线所使用的前端框架。

39 lines
903 B

/**
* Created by Dailer on 2017/7/12.
*/
Demo.IconCombo = BI.inherit(BI.Widget, {
props: {
baseCls: ""
},
render: function () {
var self = this;
return {
type: "bi.horizontal_auto",
items: [{
type: "bi.icon_combo",
7 years ago
container: "body",
7 years ago
ref: function (_ref) {
self.refs = _ref;
},
7 years ago
value: "第二项",
items: [{
value: "第一项",
7 years ago
iconCls: "close-font"
}, {
value: "第二项",
7 years ago
iconCls: "search-font"
}, {
value: "第三项",
7 years ago
iconCls: "copy-font"
}]
}],
vgap: 20
7 years ago
};
}
7 years ago
});
BI.shortcut("demo.icon_combo", Demo.IconCombo);