mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 16:44:21 +00:00
[new feature] ImagePreview: add onChange option (#3630)
This commit is contained in:
3
types/image-preview.d.ts
vendored
3
types/image-preview.d.ts
vendored
@@ -12,7 +12,8 @@ export type ImagePreviewOptions = string[] | {
|
||||
asyncClose?: boolean;
|
||||
showIndicators?: boolean;
|
||||
closeOnPopstate?: boolean;
|
||||
onClose?: () => any;
|
||||
onClose?: () => void;
|
||||
onChange?: (index: number) => void;
|
||||
};
|
||||
|
||||
export class VanImagePreview extends VanPopupMixin {
|
||||
|
Reference in New Issue
Block a user