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
785 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.select_custom_tree.item", Item);
}())