UNPKG

vue-carousel-lite

Version:

Fast, Lightweight Vue Carousel With Touch, Mouse, Keyboard, Wheel & SSR support

19 lines (17 loc) 612 B
import { Ref, ComputedRef } from 'vue'; import { CarouselProps, CarouselState } from '../types'; interface UseWheelOptions { goNext: () => void; goPrev: () => void; goNextPage: () => void; goPrevPage: () => void; state: CarouselState; props: CarouselProps; canGoNext: ComputedRef<boolean>; canGoPrev: ComputedRef<boolean>; containerRef: Ref<HTMLElement | null>; } export declare function useWheel({ containerRef, state, props, goNext, goPrev, goNextPage, goPrevPage, canGoNext, canGoPrev, }: UseWheelOptions): { isWheeling: Readonly<Ref<boolean, boolean>>; }; export {};