first commit
This commit is contained in:
21
node_modules/vant/es/dialog/function-call.d.ts
generated
vendored
Normal file
21
node_modules/vant/es/dialog/function-call.d.ts
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
import type { DialogAction, DialogOptions } from './types';
|
||||
/**
|
||||
* Display a message prompt dialog with a default confirm button
|
||||
*/
|
||||
export declare function showDialog(options: DialogOptions): Promise<DialogAction | undefined>;
|
||||
/**
|
||||
* Modify the default configuration that affects all `showDialog` calls
|
||||
*/
|
||||
export declare const setDialogDefaultOptions: (options: DialogOptions) => void;
|
||||
/**
|
||||
* Reset the default configuration that affects all `showDialog` calls
|
||||
*/
|
||||
export declare const resetDialogDefaultOptions: () => void;
|
||||
/**
|
||||
* Display a message confirmation dialog with default confirm and cancel buttons
|
||||
*/
|
||||
export declare const showConfirmDialog: (options: DialogOptions) => Promise<DialogAction | undefined>;
|
||||
/**
|
||||
* Close the currently displayed dialog
|
||||
*/
|
||||
export declare const closeDialog: () => void;
|
||||
Reference in New Issue
Block a user