We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e339197 commit c4fd31dCopy full SHA for c4fd31d
src/BootstrapBlazor/Components/Tab/Tab.razor
@@ -81,7 +81,7 @@ else
81
<div class="tabs-item-fix"></div>
82
}
83
</RenderTemplate>
84
- @if (!IsCard && !IsBorderCard)
+ @if (!IsCard && !IsBorderCard && ShowActiveBar)
85
{
86
<div class="tabs-active-bar"></div>
87
src/BootstrapBlazor/Components/Tab/Tab.razor.cs
@@ -131,6 +131,12 @@ public partial class Tab : IHandlerException
131
[Parameter]
132
public bool ShowNavigatorButtons { get; set; } = true;
133
134
+ /// <summary>
135
+ /// 获得/设置 是否显示活动标签 默认为 true 显示
136
+ /// </summary>
137
+ [Parameter]
138
+ public bool ShowActiveBar { get; set; } = true;
139
+
140
/// <summary>
141
/// 获得/设置 点击 TabItem 时是否自动导航 默认为 false 不导航
142
/// </summary>
0 commit comments