UNPKG

vue3-photo-preview

Version:
11 lines (10 loc) 422 B
import { Ref } from 'vue'; import { ItemType, ShowAnimateEnum, OriginRectType } from '../types'; type useAnimationHandleReturn = { photoVisible: Ref<boolean>; showAnimateType: Ref<ShowAnimateEnum>; originRect: Ref<OriginRectType>; onShowAnimateEnd: () => void; }; export default function useAnimationHandle(visible: Ref<boolean>, currentItem: Ref<ItemType>): useAnimationHandleReturn; export {};