fineui是帆软报表和BI产品线所使用的前端框架。
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.

27 lines
641 B

7 years ago
Demo.Center = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-center"
},
7 years ago
beforeCreate: function () {
7 years ago
console.log("beforeCreate");
},
7 years ago
render: function () {
7 years ago
return {
7 years ago
type: "bi.tab",
defaultShowIndex: 0,
cardCreator: function (v) {
return BI.createWidget({
7 years ago
type: "bi.label",
7 years ago
text: v
});
}
7 years ago
}
7 years ago
},
created: function () {
console.log("created");
},
mounted: function () {
console.log("mounted");
7 years ago
}
});
$.shortcut("demo.center", Demo.Center);