mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 16:04:04 +00:00
feat(Toast): add closeOnClick option (#4192)
This commit is contained in:
1
types/toast.d.ts
vendored
1
types/toast.d.ts
vendored
@@ -13,6 +13,7 @@ export type ToastOptions = {
|
||||
onClose?(): void;
|
||||
onOpened?(): void;
|
||||
forbidClick?: boolean;
|
||||
closeOnClick?: boolean;
|
||||
loadingType?: string;
|
||||
message?: ToastMessage;
|
||||
getContainer?: string | (() => HTMLElement);
|
||||
|
Reference in New Issue
Block a user