images-viewer-vue3
Version:
A lightweight image viewer for Vue3
28 lines (27 loc) • 823 B
TypeScript
import { AsyncSetImageReturnType } from '../types/image-viewer';
export declare const versions = "1.0.25";
/**
* Verify illegal image paths, such as null, undefined, ''
*
* @returns AsyncSetImageReturnType
*/
export declare const asyncVerifyIllegalImage: (images: string[]) => AsyncSetImageReturnType;
/**
* debounce
*
* @param { Function } fun
* @param { Number } delay
* @author qiuny
* @returns
*/
export declare const debounce: (fun: Function, delay: number) => (this: any) => void;
export declare const getTimeStamp: () => string;
/**
* downloadExe
*
* @param { String } url image url
* @param { String } fileName
*/
export declare const downloadExe: (url: string, fileName?: string) => void;
export declare const getUserAgent: () => boolean;
export declare const isTrueArray: (value: any) => boolean;