onBeforeRendering() {
      this.actionable = false;
      this.showToggleButton = this.requiresToggleButton;
    }
A class to serve as a foundation
for the <code>TreeItem</code> and <code>TreeItemCustom</code> classes.

@abstract
@constructor
@author SAP SE
@alias sap.ui.webc.main.TreeItemBase
@extends sap.ui.webc.main.ListItem
@public