Set active tab by index
Environment
Product | TabStrip for Blazor |
Description
I have a TabStrip that renders tabs dynamically based on a list. Is there a way to set the active tab based on an index or a key?
Solution
As of version 2.0.0, tabs are selected by index out of the box through the ActiveTabIndex
parameter. See the examples in the Tab Strip documentation.