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 | Description | Type | Default |
|---|---|---|---|
NameLocalizer |
A function used to localize tab names. |
TextLocalizerHandler | null |
RouterTabsOptions
| Parameter | Description | Type | Default |
|---|---|---|---|
NameLocalizer |
A function used to localize router tab names. RemarksThis 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. |
TextLocalizerHandler | null |
RouterTabsPageAttribute
Constructor arguments
| Argument | Description | Type | Default |
|---|---|---|---|
Name |
Sets the router tab name or localization key. | string | |
TabClass |
Sets the CSS class applied to the router tab. | string | string.Empty |
TabPanelClass |
Sets the CSS class applied to the router tab panel. | string | string.Empty |
Closeable |
Specifies whether the router tab can be closed. | bool | true |