feat(ImagePreview): support local registration (#6031)
This commit is contained in:
Vendored
+2
@@ -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