forked from fanruan/fineui
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.
26 lines
693 B
26 lines
693 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
|
||
|
}]
|
||
|
}
|
||
|
}
|
||
|
});
|
||
|
$.shortcut("demo.multifile_editor", Demo.CodeEditor);
|