Skip to content

Commit 9314754

Browse files
authored
doc(MaskOption): update ZIndex documentation (#6675)
1 parent 412e8ee commit 9314754

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
<h4>@Localizer["MaskDescription"]</h4>
77

88
<DemoBlock Title="@Localizer["MaskNormalTitle"]" Introduction="@Localizer["MaskNormalIntro"]" Name="Normal">
9+
<section ignore>
10+
<div>@((MarkupString)Localizer["MaskNormalDesc"].Value)</div>
11+
</section>
912
<button class="btn btn-primary" @onclick="@ShowMask">@Localizer["ShowMaskButtonText"]</button>
1013
</DemoBlock>
1114

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,7 @@
456456
"MaskDescription": "By calling the service display and hide methods, a mask layer is displayed to mask the data.",
457457
"MaskNormalTitle": "Basic usage",
458458
"MaskNormalIntro": "Call the <code>MaskService</code> mask service example method <code>Show</code> to display a mask, and call the instance method <code>Close</code> to close the mask after 3 seconds",
459+
"MaskNormalDesc": "You can adjust the <code>ZIndex</code> <code>Opacity</code> <code>BackgroundColor</code> parameters via <code>MaskOption</code>",
459460
"ShowMaskButtonText": "Show",
460461
"MaskContainerTitle": "Container",
461462
"MaskContainerIntro": "Specify the mask position by setting the <code>MaskOption</code> parameter <code>ContainerId</code>",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,7 @@
456456
"MaskDescription": "通过调用服务显示,隐藏方法,显示一个遮罩层对数据进行遮罩操作",
457457
"MaskNormalTitle": "基本用法",
458458
"MaskNormalIntro": "调用 <code>MaskService</code> 遮罩服务示例方法 <code>Show</code> 方法显示一个遮罩,3 秒后调用实例方法 <code>Close</code> 关闭遮罩",
459+
"MaskNormalDesc": "可以通过 <code>MaskOption</code> 调整 <code>ZIndex</code> <code>Opacity</code> <code>BackgroundColor</code> 参数",
459460
"ShowMaskButtonText": "打开",
460461
"MaskContainerTitle": "指定容器",
461462
"MaskContainerIntro": "通过设置 <code>MaskOption</code> 参数 <code>ContainerId</code> 指定遮罩出现位置",

0 commit comments

Comments
 (0)