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

ParameterDefaultType
NameLocalizernullTextLocalizerHandler

A function used to localize tab names.

RouterTabsOptions

ParameterDefaultType
NameLocalizernullTextLocalizerHandler

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.Returns null if no localization is available.

RouterTabsPageAttribute

Constructor arguments

ArgumentDefaultType
Name—string

Sets the router tab name or localization key.
TabClassstring.Emptystring

Sets the CSS class applied to the router tab.
TabPanelClassstring.Emptystring

Sets the CSS class applied to the router tab panel.
Closeabletruebool

Specifies whether the router tab can be closed.
On this page