feat(Popup): add close-icon-position prop (#4507)

This commit is contained in:
neverland
2019-09-19 17:14:14 +08:00
committed by GitHub
parent 68da81a51a
commit 971b218873
18 changed files with 139 additions and 58 deletions

2
types/dialog.d.ts vendored
View File

@@ -16,7 +16,7 @@ export type DialogOptions = {
showConfirmButton?: boolean;
showCancelButton?: boolean;
closeOnClickOverlay?: boolean;
getContainer?: string | (() => HTMLElement);
getContainer?: string | (() => Element);
beforeClose?: (action: DialogAction, done: DialogDone) => void;
};

2
types/toast.d.ts vendored
View File

@@ -16,7 +16,7 @@ export type ToastOptions = {
closeOnClick?: boolean;
loadingType?: string;
message?: ToastMessage;
getContainer?: string | (() => HTMLElement);
getContainer?: string | (() => Element);
};
export interface VanToast extends Vue, VanPopupMixin {