mirror of
https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
synced 2024-12-05 21:50:05 +08:00
!2362 doc(#I4SD6I): update doc for Card add IsCollapse/Shadow
* 增加Card相关文档
This commit is contained in:
parent
ba687fb0db
commit
c2ba4ed1cc
@ -1936,12 +1936,18 @@
|
||||
"IsCenterIntro": "通过设置,<code>IsCenter=true</code> 使内容居中",
|
||||
"ColorTitle": "带有边框颜色的卡片",
|
||||
"ColorIntro": "通过设置,<code>Color</code> 使border和Body具有相应的颜色",
|
||||
"CollapsibleTitle": "可以伸缩的卡片",
|
||||
"CollapsibleIntro": "通过设置,<code>IsCollapsibleIntro=true</code> 使Body可以伸缩",
|
||||
"ShadowTitle": "带有阴影的卡片",
|
||||
"ShadowIntro": "通过设置,<code>IsShadow=true</code> Card带有阴影",
|
||||
"CardBody": "获得/设置 CardBody",
|
||||
"CardFooter": "获得/设置 CardFooter",
|
||||
"CardHeader": "获得/设置 CardHeader",
|
||||
"Class": "样式",
|
||||
"Color": "设置卡片边框颜色",
|
||||
"IsCenter": "通过设置,IsCenter=true 使内容居中"
|
||||
"IsCenter": "通过设置,IsCenter=true 使内容居中",
|
||||
"IsCollapsible": "通过设置,IsCollapsibleIntro=true 使CardBody可以收缩",
|
||||
"IsShadow": "通过设置,IsShadow=true 使Card 具有阴影"
|
||||
},
|
||||
"BootstrapBlazor.Shared.Samples.Calendars": {
|
||||
"Title": "Calendar 日历框",
|
||||
|
@ -129,6 +129,22 @@
|
||||
</div>
|
||||
</DemoBlock>
|
||||
|
||||
<DemoBlock Title="@Localizer["CollapsibleTitle"]" Introduction="@Localizer["CollapsibleIntro"]" Name="Collapsible">
|
||||
<Card IsCollapsible="true" HeaderText="@Localizer["CollapsibleTitle"]">
|
||||
<CardBody>
|
||||
@Localizer["CollapsibleIntro"]
|
||||
</CardBody>
|
||||
</Card>
|
||||
</DemoBlock>
|
||||
|
||||
<DemoBlock Title="@Localizer["ShadowTitle"]" Introduction="@Localizer["ShadowIntro"]" Name="Collapsible">
|
||||
<Card IsShadow="true" HeaderText="@Localizer["ShadowTitle"]">
|
||||
<CardBody>
|
||||
@Localizer["ShadowIntro"]
|
||||
</CardBody>
|
||||
</Card>
|
||||
</DemoBlock>
|
||||
|
||||
<AttributeTable Items="GetAttributes()" />
|
||||
|
||||
|
||||
|
@ -60,6 +60,20 @@ public sealed partial class Cards
|
||||
ValueList = "true / false",
|
||||
DefaultValue = "false"
|
||||
},
|
||||
new AttributeItem{
|
||||
Name = "IsCollapsible",
|
||||
Description = Localizer["IsCollapsible"],
|
||||
Type = "boolean",
|
||||
ValueList = "true / false",
|
||||
DefaultValue = "false"
|
||||
},
|
||||
new AttributeItem{
|
||||
Name = "IsShadow",
|
||||
Description = Localizer["IsShadow"],
|
||||
Type = "boolean",
|
||||
ValueList = "true / false",
|
||||
DefaultValue = "false"
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user