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.

32 lines
783 B

!(function () {
var Item = BI.inherit(BI.BasicButton, {
props: {
baseCls: "bi-list-item-active"
},
render: function () {
var self = this
return {
type: "bi.vertical_adapt",
items: [
{
el: {
type: "bi.label",
textAlign: "left",
text: this.options.text,
},
lgap: this.options.layer * 24 + 24
}
]
}
},
getValue: function () {
return this.options.id;
},
});
BI.shortcut("bi.example.sync_custom_tree.item", Item);
}())