Blazorise RouterTabs API
Review the component, page attribute, and options used to configure router-based tabs.
For setup instructions and examples, see the RouterTabs documentation.
API
Parameters
RouterTabs
| Parameter | Default | Type |
|---|---|---|
NameLocalizer | null | TextLocalizerHandler |
A function used to localize tab names. | ||
RouterTabsOptions
| Parameter | Default | Type |
|---|---|---|
NameLocalizer | null | TextLocalizerHandler |
A function used to localize router tab names. This function allows localization of router tab names based on a key. Behavior: Accepts a string parameter representing the name key.Returns the localized name as a string.Returnsnull if no localization is available. | ||
RouterTabsPageAttribute
Constructor arguments
| Argument | Default | Type |
|---|---|---|
Name | — | string |
Sets the router tab name or localization key.
| ||
TabClass | string.Empty | string |
Sets the CSS class applied to the router tab.
| ||
TabPanelClass | string.Empty | string |
Sets the CSS class applied to the router tab panel.
| ||
Closeable | true | bool |
Specifies whether the router tab can be closed.
| ||