vant
Version:
Mobile UI Components built on Vue
18 lines (17 loc) • 589 B
TypeScript
import type { NotifyMessage, NotifyOptions } from './types';
/**
* Close the currently displayed Notify
*/
export declare const closeNotify: () => void;
/**
* Display Notify at the top of the page
*/
export declare function showNotify(options: NotifyMessage | NotifyOptions): any;
/**
* Modify the default configuration, affecting all `showNotify` calls
*/
export declare const setNotifyDefaultOptions: (options: NotifyOptions) => NotifyOptions;
/**
* Reset the default configuration, affecting all `showNotify` calls
*/
export declare const resetNotifyDefaultOptions: () => void;