开始做登录
This commit is contained in:
22
miniprogram_npm/@vant/weapp/notify/notify.d.ts
vendored
Normal file
22
miniprogram_npm/@vant/weapp/notify/notify.d.ts
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
interface NotifyOptions {
|
||||
type?: 'primary' | 'success' | 'danger' | 'warning';
|
||||
color?: string;
|
||||
zIndex?: number;
|
||||
top?: number;
|
||||
message: string;
|
||||
context?: any;
|
||||
duration?: number;
|
||||
selector?: string;
|
||||
background?: string;
|
||||
safeAreaInsetTop?: boolean;
|
||||
onClick?: () => void;
|
||||
onOpened?: () => void;
|
||||
onClose?: () => void;
|
||||
}
|
||||
declare function Notify(options: NotifyOptions | string): any;
|
||||
declare namespace Notify {
|
||||
var clear: (options?: NotifyOptions | undefined) => void;
|
||||
var setDefaultOptions: (options: NotifyOptions) => void;
|
||||
var resetDefaultOptions: () => void;
|
||||
}
|
||||
export default Notify;
|
Reference in New Issue
Block a user