fix. GR_VISUAL_02 기획서 수정 적용

This commit is contained in:
clkim
2025-09-24 16:32:34 +09:00
parent cf15589fd0
commit 675ea26d1d
3 changed files with 16 additions and 3 deletions

View File

@@ -5,6 +5,7 @@ import type { SlideItemSize } from '#layers/types/components/slide'
interface Props {
slideItemSize: SlideItemSize
type?: 'loop' | 'slide'
autoplay?: boolean | string
arrows?: boolean
pagination?: boolean
@@ -12,6 +13,7 @@ interface Props {
}
const props = withDefaults(defineProps<Props>(), {
type: 'loop',
autoplay: false,
arrows: true,
pagination: true,
@@ -19,7 +21,7 @@ const props = withDefaults(defineProps<Props>(), {
const options = computed((): ResponsiveOptions => {
return {
type: 'loop',
type: props.type,
focus: 'center',
autoWidth: true,
autoHeight: true,