CarouselItem
parameter Caption
for the content of caption",
"IntervalTitle": "Individual interval",
"IntervalIntro": "Set Interval
to a CarouselItem
to change the amount of time to delay between automatically cycling to the next item. the default value is 5000 ms",
+ "TouchSwipingTitle": "Disable touch swiping",
+ "TouchSwipingIntro": "Set DisableTouchSwiping
disable the swiping function on mobile",
"CaptionTemplateTitle": "Caption Template",
"CaptionTemplateIntro": "Set CarouselItem
的 CaptionTemplate
custom the caption of item",
"CaptionClassTitle": "Caption Class",
diff --git a/src/BootstrapBlazor.Shared/Locales/zh.json b/src/BootstrapBlazor.Shared/Locales/zh.json
index 03c5aebd42f5b66751161b7ba9683f0cfaf7a40a..6535b402074a9ff61fb505b57100359656527d8e 100644
--- a/src/BootstrapBlazor.Shared/Locales/zh.json
+++ b/src/BootstrapBlazor.Shared/Locales/zh.json
@@ -2212,6 +2212,8 @@
"CaptionIntro": "通过设置 CarouselItem
的 Caption
属性,开启标题功能",
"IntervalTitle": "切换间隔",
"IntervalIntro": "通过设置 CarouselItem
的 Interval
属性,可以单独设置幻灯片单独切换时间间隔,间隔默认值 5000 毫秒",
+ "TouchSwipingTitle": "禁用手势滑动",
+ "TouchSwipingIntro": "通过设置 DisableTouchSwiping
属性,禁用移动端手势滑动功能",
"CaptionTemplateTitle": "标题模板",
"CaptionTemplateIntro": "通过设置 CarouselItem
的 CaptionTemplate
属性,自定义标题内容",
"CaptionClassTitle": "标题样式",
diff --git a/src/BootstrapBlazor.Shared/Samples/Carousels.razor b/src/BootstrapBlazor.Shared/Samples/Carousels.razor
index fe683fa66ba64dcf4c66e156766de3ad34ce3662..046c050d424d4c24ec315e018d6fbe99fac56116 100644
--- a/src/BootstrapBlazor.Shared/Samples/Carousels.razor
+++ b/src/BootstrapBlazor.Shared/Samples/Carousels.razor
@@ -119,6 +119,20 @@