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

24 lines
546 B

Demo.Button = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-button"
},
render: function () {
var items = [
{
el: {
type: "bi.icon_button",
cls: "close-ha-font",
width: 25,
height: 25
}
}
];
return {
type: "bi.left",
vgap: 200,
hgap: 20,
items: items
};
}
});
BI.shortcut("demo.icon_button", Demo.Button);