Skip to content

Commit d38636e

Browse files
committed
doc: 更新参数文档
1 parent 60de08e commit d38636e

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,14 @@ private AttributeItem[] GetAttributes() =>
439439
Type = "string",
440440
ValueList = " — ",
441441
DefaultValue = " — "
442+
},
443+
new()
444+
{
445+
Name = nameof(Select<string>.ShowSwal),
446+
Description = Localizer["SelectsShowSwal"],
447+
Type = "bool",
448+
ValueList = "true|false",
449+
DefaultValue = "true"
442450
}
443451
];
444452
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3267,7 +3267,8 @@
32673267
"TextConvertToValueCallback": "Callback method when input text changes in edit mode",
32683268
"SelectsIsEditable": "Whether editable",
32693269
"SelectsIsVirtualize": "Wether to enable virtualize",
3270-
"SelectsDefaultVirtualizeItemText": "The text string corresponding to the first load value when virtual scrolling is turned on is separated by commas"
3270+
"SelectsDefaultVirtualizeItemText": "The text string corresponding to the first load value when virtual scrolling is turned on is separated by commas",
3271+
"SelectsShowSwal": "Whether show the swal confirm popup"
32713272
},
32723273
"BootstrapBlazor.Server.Components.Samples.Sliders": {
32733274
"SlidersTitle": "Slider",

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3267,7 +3267,8 @@
32673267
"TextConvertToValueCallback": "编辑模式下输入文本变化时回调方法",
32683268
"SelectsIsEditable": "是否可编辑",
32693269
"SelectsIsVirtualize": "是否开启虚拟滚动",
3270-
"SelectsDefaultVirtualizeItemText": "开启虚拟滚动时首次加载 Value 对应的文本字符串用逗号分割"
3270+
"SelectsDefaultVirtualizeItemText": "开启虚拟滚动时首次加载 Value 对应的文本字符串用逗号分割",
3271+
"SelectsShowSwal": "是否显示 Swal 确认弹窗"
32713272
},
32723273
"BootstrapBlazor.Server.Components.Samples.Sliders": {
32733274
"SlidersTitle": "Slider 滑块",

0 commit comments

Comments
 (0)