19 lines
516 B
TypeScript
19 lines
516 B
TypeScript
|
|
declare module '@kagol/vue-carousel' {
|
||
|
|
import type { Component, Plugin } from 'vue'
|
||
|
|
|
||
|
|
export const Carousel: Component
|
||
|
|
export const CarouselIndicator: Component
|
||
|
|
export const CarouselPrev: Component
|
||
|
|
export const CarouselNext: Component
|
||
|
|
export const usePage: (initialPage?: number) => {
|
||
|
|
pageIndex: { value: number }
|
||
|
|
setPageIndex: (pageIndex: number) => void
|
||
|
|
jumpPage: (step: number) => void
|
||
|
|
prevPage: () => void
|
||
|
|
nextPage: () => void
|
||
|
|
}
|
||
|
|
|
||
|
|
const plugin: Plugin
|
||
|
|
export default plugin
|
||
|
|
}
|