press-ui
Version:
简单、易用的跨端组件库,兼容 Vue2 和 Vue3,同时支持 uni-app和普通 Vue 项目
26 lines (18 loc) • 527 B
TypeScript
type IOptions = Partial<{
context: any;
selector: string | ((context: any) => any);
images: string[];
startPosition: number | string;
transition: string;
showIndex: boolean;
asyncClose: boolean;
customStyle: string;
customClass: string;
closeable: boolean;
closeIcon: string;
closeIconPosition: string;
zIndex: number;
}>;
export declare function imagePreview(options: IOptions): any;
export const imagePreviewHandler: typeof imagePreview;
export const showImagePreview: typeof imagePreview;