Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit 4917666

Browse files
committed
feat(BCarouselSlide): add prop imgSrcset
1 parent 0b3fcc5 commit 4917666

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/bootstrap-vue-next/src/components/BCarousel/BCarouselSlide.vue

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<BImg
55
class="d-block w-100"
66
:alt="imgAlt"
7+
:srcset="imgSrcset"
78
:src="imgSrc"
89
:width="imgWidth || parentData?.width.value"
910
:height="imgHeight || parentData?.height.value"
@@ -59,6 +60,7 @@ const props = withDefaults(
5960
contentTag?: string
6061
contentVisibleUp?: string
6162
id?: string
63+
imgSrcset?: string | string[]
6264
imgAlt?: string
6365
imgBlank?: Booleanish
6466
imgBlankColor?: string
@@ -67,6 +69,7 @@ const props = withDefaults(
6769
textTag?: string
6870
}>(),
6971
{
72+
imgSrcset: undefined,
7073
imgSrc: undefined,
7174
imgHeight: undefined,
7275
imgWidth: undefined,

0 commit comments

Comments
 (0)