mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00:00
feat(Popup): add close-icon-position prop (#4507)
This commit is contained in:
2
types/dialog.d.ts
vendored
2
types/dialog.d.ts
vendored
@@ -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
2
types/toast.d.ts
vendored
@@ -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 {
|
||||
|
Reference in New Issue
Block a user