vuestic-ui
Version:
Vue 3 UI Framework
23 lines (22 loc) • 672 B
TypeScript
import { Ref } from 'vue';
export declare const useCarouselAnimation: (props: {
items: any[];
autoscrollInterval: number;
autoscrollPauseDuration: number;
autoscroll: boolean;
infinite: boolean;
effect: 'fade' | 'transition';
vertical: boolean;
fadeKeyframe: string;
}, currentSlide: Ref<number>) => {
start: () => void;
pause: () => void;
stop: () => void;
withPause: <T extends (...args: any[]) => any>(fn: T) => (...args: Parameters<T>) => void;
computedSlidesStyle: import("vue").ComputedRef<{
transition: string;
} | {
transform: string;
}>;
slides: import("vue").ComputedRef<any[]>;
};