We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dabb19 commit 4a9f210Copy full SHA for 4a9f210
packages/coreui-vue/src/components/carousel/CCarousel.ts
@@ -188,8 +188,8 @@ const CCarousel = defineComponent({
188
class: [
189
'carousel slide',
190
props.transition === 'crossfade' && 'carousel-fade',
191
- props.dark && 'carousel-dark',
192
],
+ ...(props.dark && { 'data-coreui-theme': 'dark' }),
193
onmouseover: () => props.pause && pause(),
194
onmouseleave: () => cycle(),
195
ref: carouselRef,
0 commit comments