Skip to content

Commit a88529b

Browse files
authored
doc(IpAddress): add IsDisabled parameter documentation (#6946)
1 parent 5002470 commit a88529b

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

src/BootstrapBlazor.Server/Components/Samples/Ips.razor

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
@page "/ip"
22
@inject IStringLocalizer<Ips> Localizer
33

4+
<h3>@Localizer["IpTitle"]</h3>
5+
6+
<h4>@Localizer["IpSubTitle"]</h4>
7+
48
<DemoBlock Title="@Localizer["IpNormalTitle"]" Introduction="@Localizer["IpNormalIntro"]" Name="Normal">
59
<IpAddress @bind-Value="@Value" />
610
<div class="mt-3">@Value</div>

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3944,8 +3944,12 @@
39443944
"FeatureShowHolidays": "Holidays"
39453945
},
39463946
"BootstrapBlazor.Server.Components.Samples.Ips": {
3947+
"IpTitle": "IpAddress",
3948+
"IpSubTitle": "The IP Address component is a reusable component for entering and validating IP addresses.",
39473949
"IpNormalTitle": "Basic usage",
3948-
"IpNormalIntro": "Enter and display the <code>ip</code> address in sections, for example: <code>192.168.1.1</code>"
3950+
"IpNormalIntro": "Enter and display the <code>ip</code> address in sections, for example: <code>192.168.1.1</code>",
3951+
"IsDisabledTitle": "IsDisabled",
3952+
"IsDisabledIntro": "Make the component disabled by setting <code>IsDisabled</code>"
39493953
},
39503954
"BootstrapBlazor.Server.Components.Samples.Displays": {
39513955
"Title": "Display",

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3944,8 +3944,12 @@
39443944
"FeatureShowHolidays": "法定假日"
39453945
},
39463946
"BootstrapBlazor.Server.Components.Samples.Ips": {
3947+
"IpTitle": "IpAddress 地址组件",
3948+
"IpSubTitle": "IP 地址组件是一个用于输入和验证 IP 地址的可重用组件",
39473949
"IpNormalTitle": "基础用法",
3948-
"IpNormalIntro": "分段录入并显示 <code>ip</code> 地址,例如:<code>192.168.1.1</code>"
3950+
"IpNormalIntro": "分段录入并显示 <code>ip</code> 地址,例如:<code>192.168.1.1</code>",
3951+
"IsDisabledTitle": "禁用",
3952+
"IsDisabledIntro": "通过设置 <code>IsDisabled</code> 使组件处于不可用状态"
39493953
},
39503954
"BootstrapBlazor.Server.Components.Samples.Displays": {
39513955
"Title": "Display 显示组件",

0 commit comments

Comments
 (0)