UNPKG

vuux

Version:

Vue3 Nuxt3 Nuxt4 组件库

21 lines (20 loc) 917 B
import { default as _ImageCompare } from './src/index.vue'; export declare const ImageCompare: import('../withInstall').SFCWithInstall<import('vue').DefineComponent<import('./src/types').Props, { resetPosition: () => void; setPosition: (value: number) => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { drag: (...args: any[]) => void; }, string, import('vue').PublicProps, Readonly<import('./src/types').Props> & Readonly<{ onDrag?: ((...args: any[]) => any) | undefined; }>, { height: string; position: number; text: boolean; letfImage: string; rightImage: string; letfText: string; rightText: string; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, { imageCompareEl: HTMLDivElement; }, HTMLDivElement>> & Record<string, any>; export type ImageCompareInstance = InstanceType<typeof _ImageCompare>;