!2713 doc(#I54VKC): add IsAccordion document for Layout

* doc(#I54VKC): Layout 文档增加 IsAccordion 参数说明
This commit is contained in:
一事冇诚 2022-04-27 02:27:56 +00:00 committed by Argo
parent ce62a3e75c
commit 7b0287e27b
3 changed files with 11 additions and 2 deletions

View File

@ -250,7 +250,8 @@
"Desc15": "Collection of additional programs, passed to the Tab component for use",
"Desc16": "Contract expand callback delegate",
"Desc17": "Call back the delegate when the menu item is clicked",
"TabDefaultUrl": "Set the default url of Tab"
"TabDefaultUrl": "Set the default url of Tab",
"IsAccordion": "Whether to set the accordion menu"
},
"BootstrapBlazor.Shared.Samples.Footers": {
"Title": "Footer",

View File

@ -250,7 +250,8 @@
"Desc15": "额外程序集合,传递给 Tab 组件使用",
"Desc16": "收缩展开回调委托",
"Desc17": "点击菜单项时回调委托",
"TabDefaultUrl": "设置 Tab 组件默认标签页"
"TabDefaultUrl": "设置 Tab 组件默认标签页",
"IsAccordion": "是否设置手风琴菜单"
},
"BootstrapBlazor.Shared.Samples.Footers": {
"Title": "Footer 页脚组件",

View File

@ -108,6 +108,13 @@ public sealed partial class Layouts
ValueList = "true|false",
DefaultValue = "false"
},
new AttributeItem() {
Name = "IsAccordion",
Description = Localizer["IsAccordion"],
Type = "bool",
ValueList = "true|false",
DefaultValue = "false"
},
new AttributeItem() {
Name = "ShowCollapseBar",
Description = Localizer["Desc11"],