UNPKG

embla-carousel-vue

Version:

A lightweight carousel library with fluid motion and great swipe precision

12 lines (11 loc) 496 B
import { Ref, MaybeRef } from 'vue'; import { EmblaCarouselType, EmblaOptionsType, EmblaPluginType } from 'embla-carousel'; export type EmblaCarouselVueType = [ Ref<HTMLElement | undefined>, Ref<EmblaCarouselType | undefined> ]; declare function emblaCarouselVue(options?: MaybeRef<EmblaOptionsType>, plugins?: MaybeRef<EmblaPluginType[]>): EmblaCarouselVueType; declare namespace emblaCarouselVue { let globalOptions: EmblaOptionsType | undefined; } export default emblaCarouselVue;