[new feature] ImagePreview: add max-zoom、min-zoom prop (#3133)

This commit is contained in:
neverland
2019-04-11 14:38:46 +08:00
committed by GitHub
parent b4fc5df926
commit e6d4f331a8
5 changed files with 17 additions and 3 deletions

View File

@@ -3,6 +3,8 @@ import { VanPopupMixin } from './mixins/popup';
export type ImagePreviewOptions = string[] | {
loop?: boolean;
images: string[];
maxZoom?: number;
minZoom?: number;
className?: any;
startPosition?: number;
lazyLoad?: boolean;