1
0
mirror of https://gitee.com/vant-contrib/vant.git synced 2025-04-06 03:57:59 +08:00

types(ImagePreview): fix missing onScale type ()

This commit is contained in:
neverland 2022-09-17 14:05:29 +08:00 committed by GitHub
parent 3e47f5b289
commit 1f29e79c46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -23,6 +23,7 @@ export type ImagePreviewOptions =
closeIconPosition?: string;
getContainer?: string | (() => Element);
onClose?(): void;
onScale?(data: { index: number; scale: number }): void;
onChange?(index: number): void;
swipeTo?(index: number, options?: SwipeToOptions): void;
};