Skip to content

Commit 47e6bf4

Browse files
committed
doc: 更新文档
1 parent b9ca1f6 commit 47e6bf4

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

src/BootstrapBlazor.Server/Components/Samples/Layouts.razor.cs

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,30 @@ private AttributeItem[] GetAttributes() =>
124124
DefaultValue = "false"
125125
},
126126
new()
127+
{
128+
Name = "SidebarMinWidth",
129+
Description = Localizer["Layouts_SidebarMinWidth_Description"],
130+
Type = "int?",
131+
ValueList = " — ",
132+
DefaultValue = " — "
133+
},
134+
new()
135+
{
136+
Name = "SidebarMaxWidth",
137+
Description = Localizer["Layouts_SidebarMaxWidth_Description"],
138+
Type = "int?",
139+
ValueList = " — ",
140+
DefaultValue = " — "
141+
},
142+
new()
143+
{
144+
Name = "ShowSplitebar",
145+
Description = Localizer["Layouts_ShowSplitebar_Description"],
146+
Type = "bool",
147+
ValueList = "true|false",
148+
DefaultValue = "false"
149+
},
150+
new()
127151
{
128152
Name = "ShowFooter",
129153
Description = Localizer["Layouts_ShowFooter_Description"],

src/BootstrapBlazor.Server/Locales/en-US.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1432,6 +1432,9 @@
14321432
"Layouts_IsFixedFooter_Description": "Whether to fix the Footer component",
14331433
"Layouts_IsFixedHeader_Description": "Whether to fix the Header component",
14341434
"Layouts_ShowCollapseBar_Description": "Whether to show contraction and expansion Bar",
1435+
"Layouts_ShowSplitebar_Description": "Whether to display the left and right split bar",
1436+
"Layouts_SidebarMinWidth_Description": "Minimum sidebar width",
1437+
"Layouts_SidebarMaxWidth_Description": "Maximum sidebar width",
14351438
"Layouts_ShowFooter_Description": "Whether to show Footer template",
14361439
"Layouts_ShowGotoTop_Description": "Whether to display the back to top button",
14371440
"Layouts_UseTabSet_Description": "Whether to open multi-label mode",

src/BootstrapBlazor.Server/Locales/zh-CN.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1432,6 +1432,9 @@
14321432
"Layouts_IsFixedFooter_Description": "是否固定 Footer 组件",
14331433
"Layouts_IsFixedHeader_Description": "是否固定 Header 组件",
14341434
"Layouts_ShowCollapseBar_Description": "是否显示收缩展开 Bar",
1435+
"Layouts_ShowSplitebar_Description": "是否显示左右分割栏",
1436+
"Layouts_SidebarMinWidth_Description": "侧边栏最小宽度",
1437+
"Layouts_SidebarMaxWidth_Description": "侧边栏最大宽度",
14351438
"Layouts_ShowFooter_Description": "是否显示 Footer 模板",
14361439
"Layouts_ShowGotoTop_Description": "是否显示返回顶端按钮",
14371440
"Layouts_UseTabSet_Description": "是否开启多标签模式",

0 commit comments

Comments
 (0)