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

26 lines
695 B

8 years ago
Demo.CodeEditor = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-editor"
},
render: function () {
return {
type: "bi.absolute",
items: [{
el: {
type: "bi.adaptive",
cls: "layout-bg1",
items: [{
type: "bi.multifile_editor",
width: 400,
height: 300
}],
width: 400,
height: 300
},
top: 50,
left: 50
}]
7 years ago
};
8 years ago
}
});
8 years ago
BI.shortcut("demo.multifile_editor", Demo.CodeEditor);