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

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