mirror of
https://github.com/youzan/vant.git
synced 2025-10-15 23:55:08 +00:00
feat(ImagePreview): support local registration (#6031)
This commit is contained in:
2
types/image-preview.d.ts
vendored
2
types/image-preview.d.ts
vendored
@@ -1,3 +1,4 @@
|
||||
import { VanComponent } from './component';
|
||||
import { VanPopupMixin } from './mixins/popup';
|
||||
|
||||
export type ImagePreviewOptions =
|
||||
@@ -32,6 +33,7 @@ export class VanImagePreview extends VanPopupMixin {
|
||||
export interface ImagePreview {
|
||||
(options: ImagePreviewOptions, startPosition?: number): VanImagePreview;
|
||||
install(): void;
|
||||
Component: typeof VanComponent;
|
||||
}
|
||||
|
||||
export const ImagePreview: ImagePreview;
|
||||
|
Reference in New Issue
Block a user