- “tabs” property is internal → How can I set “activeTab” property without accessing “tabs” property?
- “tabHeaders” property is internal
- There is no uss classes to set active tab
Hello!
There’s an activeTab
property that’s available to set, as well as a selectedTabIndex
if you want to set the active tab through the index.
Hope this helps!
Maybe you have not understood my message… I know perfectly well that this property exists, that’s why I put “activeTab” in my message because I speak of that property.
What there is not a way to access both to the “tabs” (with the operator [ ] apparently it is possible but it is not documented as such) and to the “tabHeaders” from a tabView. I do not know if it is thought that it is acceded with the operator [ ] and to the header to accede from the property “tabHeader” of each tab.
In the page of the TabView there is not a single example of all that I say:
@laila-chammaa you haven’t really answered any of the 3 points…
That’s a good point, I think the assumption was you’d keep a reference to your tabs after creating them, but if not, it’d be difficult to do much. I’ll bring it up to the team, and we can make it public for your use.