[improvement] ImagePreview: add show-index prop (#1889)
This commit is contained in:
Vendored
+2
@@ -3,11 +3,13 @@ import { VanPopupMixin } from './mixins/popup';
|
||||
export type ImagePreviewOptions = string[] | {
|
||||
images: string[];
|
||||
startPosition?: number;
|
||||
showIndex?: boolean;
|
||||
onClose?: () => any;
|
||||
};
|
||||
|
||||
export class VanImagePreview extends VanPopupMixin {
|
||||
images: string[];
|
||||
showIndex: boolean;
|
||||
startPosition: number;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user