主题插件示例。
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.
 
 

53 lines
1.6 KiB

!(function () {
BI.config("dec.constant.config", function (config) {
config.config4Frame.west.width = 240;
config.config4EntryPane.pinable = false;
return config;
});
BI.config("dec.provider.layout", function (provider) {
provider.setConfig({
type: "bi.absolute",
items: [
{
el: {
type: "bi.absolute",
items: [
{
el: {
type: "dec.workbench.tabs"
},
top: 0, bottom: 0, right: 0,
left: 240
}, {
el: {
type: "dec.workbench.panel",
width: 240
},
top: 0, bottom: 0,
left: 0
}
]
},
top: 40, left: 0, right: 0, bottom: 0
}, {
el: {
type: "dec.header"
},
height: 40,
top: 0, left: 0, right: 0
}
]
});
return provider;
});
BI.config("dec.workbench.panel", function (config) {
config.type = "my.theme.directory";
return config;
});
}());