UNPKG

vuux

Version:

Vue3 Nuxt3 Nuxt4 组件库

27 lines (26 loc) 703 B
import { GroupProps } from '../types'; /** * hook * * @param props 组件属性 */ export declare const useImageGroup: (props: GroupProps) => { customStyle: import('vue').ComputedRef<Record<string, string>>; normalImages: import('vue').ComputedRef<string[]>; last: import('vue').ComputedRef<boolean>; lastImage: import('vue').ComputedRef<string>; preview: import('vue').Ref<{ visible: boolean; index: number; }, { visible: boolean; index: number; } | { visible: boolean; index: number; }>; openPreview: (index: number) => void; closePreview: () => void; prevImage: () => void; nextImage: () => void; };