Skip to content

Commit 016928f

Browse files
committed
refactor: add maxSlide and minSlide properties to InjectedCarousel type for improved slide management
1 parent e106b54 commit 016928f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/Carousel/Carousel.types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ export type InjectedCarousel = Reactive<{
2121
slidesCount: ComputedRef<number>
2222
activeSlide: Ref<number>
2323
currentSlide: Ref<number>
24+
maxSlide: ComputedRef<number>
25+
minSlide: ComputedRef<number>
2426
visibleRange: ComputedRef<{ min: number; max: number }>
2527
slideSize: Ref<number>
2628
isVertical: ComputedRef<boolean>

0 commit comments

Comments
 (0)