UNPKG

@farris/ui-vue

Version:

Farris Vue, a Farris Design based Vue3 component library.

10 lines (9 loc) 499 B
import { Ref } from "vue"; export declare function useCarouselNavigation(props: any, { emit, slots }: any, activeIndex: Ref<number>, itemCount: Ref<number>, totalItemCount: Ref<number>, isTransitioning: Ref<boolean>): { setActiveItem: (index: number | string, skipAnimation?: boolean) => void; next: () => void; prev: () => void; handleIndicatorEvent: (index: number) => void; handleIndicatorClick: (index: number) => void; getRealIndex: (displayIndex: number) => number; };