mirror of
https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
synced 2024-12-06 05:59:45 +08:00
!3529 feat(#I60WMR): remove IsOnlyRenderActiveTab parameter on RibbonTab component
* chore: bump version 7.0.1-beta05 * feat: 移除 IsOnlyRenderActiveTab 参数
This commit is contained in:
parent
c5b3e9495a
commit
d8d22debd7
@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.Razor">
|
||||
|
||||
<PropertyGroup>
|
||||
<Version>7.0.1-beta04</Version>
|
||||
<Version>7.0.1-beta05</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
<div @attributes="@AdditionalAttributes" id="@Id" class="@HeaderClassString">
|
||||
<div class="ribbon-header">
|
||||
<Tab IsBorderCard="true" IsOnlyRenderActiveTab="true" OnClickTab="OnClickTab">
|
||||
<Tab IsBorderCard="true" OnClickTab="OnClickTab">
|
||||
@foreach (var item in GetItems())
|
||||
{
|
||||
<TabItem Text="@item.Text">
|
||||
|
@ -10,12 +10,6 @@ namespace BootstrapBlazor.Components;
|
||||
[JSModuleAutoLoader("ribbon-tab", JSObjectReference = true)]
|
||||
public partial class RibbonTab
|
||||
{
|
||||
/// <summary>
|
||||
/// 获得/设置 是否仅渲染当前 Tab 默认 true
|
||||
/// </summary>
|
||||
[Parameter]
|
||||
public bool IsOnlyRenderActiveTab { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// 获得/设置 是否显示悬浮小箭头 默认 false 不显示
|
||||
/// </summary>
|
||||
|
Loading…
Reference in New Issue
Block a user