Add tooltip in tab

How to add a tooltip in a tab in a tabbar?

You may place any required html-content as a text for your tab.
For example:
{id: “a1”, text: “

tab name

”, active: true},