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