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.
|
|
|
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.select_text_trigger",
|
|
|
|
text: "这是一个简单的trigger",
|
|
|
|
width: 200,
|
|
|
|
height: 24
|
|
|
|
}],
|
|
|
|
hgap: 20,
|
|
|
|
vgap: 20
|
|
|
|
});
|
|
|
|
}
|
|
|
|
});
|
|
|
|
BI.shortcut("demo.select_text_trigger", Demo.Func);
|