vant/types/image-preview.d.ts
2018-06-16 10:27:21 +08:00

14 lines
308 B
TypeScript

import { VanPopupMixin } from './mixins/popup';
export class VanImagePreview extends VanPopupMixin {
images: string[];
startPosition: number;
}
export interface ImagePreview {
(images: string[], startPosition?: number): VanImagePreview;
install(): void;
}
export const ImagePreview: ImagePreview;