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

23 lines
663 B

8 years ago
Demo.Message = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-bubble"
},
render: function () {
return {
type: "bi.center_adapt",
7 years ago
items: [
8 years ago
{
7 years ago
el: {
type: "bi.button",
text: "点击我弹出一个消息框",
height: 30,
handler: function () {
BI.Msg.alert("测试消息框", "我是测试消息框的内容");
8 years ago
}
}
}
]
7 years ago
};
8 years ago
}
});
8 years ago
BI.shortcut("demo.message", Demo.Message);