Adds a custom tab to the left panel (legacy API). Converted to addPanel on the left (tab.title → title, tab.img → icon, plus the panel's dataElement / render), with a warning that it is a legacy API.
{ tab, panel }.
{ tab, panel }
The panel.
The panel's dataElement.
A built-in panel name, or a function returning the panel's element.
The tab.
The tab's dataElement.
Optional
The tab's icon.
The tab's tooltip text.
Adds a custom tab to the left panel (legacy API). Converted to addPanel on the left (tab.title → title, tab.img → icon, plus the panel's dataElement / render), with a warning that it is a legacy API.