chore: prettier packages codes
This commit is contained in:
Vendored
+18
-16
@@ -1,21 +1,23 @@
|
||||
import { VanPopupMixin } from './mixins/popup';
|
||||
|
||||
export type ImagePreviewOptions = string[] | {
|
||||
loop?: boolean;
|
||||
images: string[];
|
||||
maxZoom?: number;
|
||||
minZoom?: number;
|
||||
className?: any;
|
||||
lazyLoad?: boolean;
|
||||
showIndex?: boolean;
|
||||
asyncClose?: boolean;
|
||||
swipeDuration?: number;
|
||||
startPosition?: number;
|
||||
showIndicators?: boolean;
|
||||
closeOnPopstate?: boolean;
|
||||
onClose?: () => void;
|
||||
onChange?: (index: number) => void;
|
||||
};
|
||||
export type ImagePreviewOptions =
|
||||
| string[]
|
||||
| {
|
||||
loop?: boolean;
|
||||
images: string[];
|
||||
maxZoom?: number;
|
||||
minZoom?: number;
|
||||
className?: any;
|
||||
lazyLoad?: boolean;
|
||||
showIndex?: boolean;
|
||||
asyncClose?: boolean;
|
||||
swipeDuration?: number;
|
||||
startPosition?: number;
|
||||
showIndicators?: boolean;
|
||||
closeOnPopstate?: boolean;
|
||||
onClose?: () => void;
|
||||
onChange?: (index: number) => void;
|
||||
};
|
||||
|
||||
export class VanImagePreview extends VanPopupMixin {
|
||||
images: string[];
|
||||
|
||||
Reference in New Issue
Block a user