fix. [PWT-158] 공식 영상 > 추천 영상 자동 롤링 기능 미동작
This commit is contained in:
@@ -8,6 +8,7 @@ interface Props {
|
||||
slideItemSize: SlideItemSize
|
||||
slideItemLength?: number
|
||||
autoplay?: boolean
|
||||
interval?: number
|
||||
arrows?: boolean
|
||||
pagination?: boolean
|
||||
class?: string
|
||||
@@ -15,6 +16,7 @@ interface Props {
|
||||
|
||||
const props = withDefaults(defineProps<Props>(), {
|
||||
autoplay: false,
|
||||
interval: 5000,
|
||||
arrows: true,
|
||||
pagination: true,
|
||||
})
|
||||
@@ -38,6 +40,7 @@ const options = computed((): ResponsiveOptions => {
|
||||
arrows: props.arrows && isMultipleItems.value,
|
||||
pagination: props.pagination && isMultipleItems.value,
|
||||
autoplay: props.autoplay,
|
||||
interval: props.interval,
|
||||
classes: {
|
||||
arrows: 'splide-arrows',
|
||||
arrow: 'splide-arrow',
|
||||
|
||||
Reference in New Issue
Block a user