<b-tab>'s title prop prevents the use of the actual title attribute.
If I attempt to wrap <b-tab> in <div title="Tooltip"> or <b-tooltip> the results are:
[Vue warn]: Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option.Libraries
As a workaround, to get a title attribute on the content, you can wrap the _content_ of your <b-tab> in a div which has the title attribute added.
OR are you looking to get the title attribute on the tab's tab button?
Also the current implementation of
The title prop supports HTML markup (but not component markup). So you can set the title prop to:
<b-tabs>
<b-tab title="<span title="tooltip 1">Tab 1</span>" ... >
<<!-- tab content here -->
</b-tab>
<b-tab title="<span title="tooltip 2">Tab 2</span>" ... >
<<!-- tab content here -->
</b-tab>
</b-tabs>
I didn't consider title accepting HTML; this is working. Thanks!
Yep... it accepts static HTML, but not dynamic stuff like components.
Most helpful comment
I didn't consider title accepting HTML; this is working. Thanks!