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

24 lines
545 B

7 years ago
Demo.Func = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-func"
},
render: function () {
BI.createWidget({
type: "bi.vertical",
element: this,
items: [{
type: "bi.label",
text: "只有一个图标的trigger"
}, {
type: "bi.icon_trigger",
width: 30,
height: 24
7 years ago
}],
hgap: 20,
vgap: 20
7 years ago
});
7 years ago
}
});
BI.shortcut("demo.icon_trigger", Demo.Func);