mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 00:14:18 +00:00
[Improvement] Dialog: add before-close prop (#881)
This commit is contained in:
1
types/dialog.d.ts
vendored
1
types/dialog.d.ts
vendored
@@ -3,6 +3,7 @@ export type DialogOptions = {
|
||||
message?: string;
|
||||
overlay?: boolean;
|
||||
lockScroll?: boolean;
|
||||
beforeClose?: (action: string, done: function) => void;
|
||||
confirmButtonText?: string;
|
||||
cancelButtonText?: string;
|
||||
showConfirmButton?: boolean;
|
||||
|
Reference in New Issue
Block a user