How to style individual tab of tab container?

How can I style a particular tab in a Perspective tab container? I have a preconditions tab and I want to flash it some colour if all of the preconditions aren’t met.

And if I can’t, is this a feasible feature request?

I would actually render the tab as a View:
Modify the tab index to be an object and set up the properties as shown:
Screen Shot 2020-11-11 at 11.29.06AM
From the docs:

Content to display in the menu as tabs. Each tab in this array may be either a string to display as the tab text or an object with viewPath and optionally viewParams. If the latter, a view will render as the tab in place of text.

1 Like

Awesome, I didn’t know you could do that! I should read the user manual more often…

Done!
image

Read the whole thing. :rofl:

I’m not sure if an engineer can do that?? :laughing:

Also, it’s not possible to have all tabs preloaded is it? All of my tabs are dynamically populated on startup by browsing the tag structure (not nested thankfully) so it’s super quick but still takes half a second or so, but if it was preloaded it would be fairly instantaneous (as in Vision)

Edit. to be fair, it’s pretty damn quick still…