forked from fanruan/fineui
iapyang
3 years ago
1 changed files with 4 additions and 4 deletions
@ -1,6 +1,6 @@ |
|||||||
export type _msg = { |
export type _msg = { |
||||||
alert: (title: string, message?: string, callback?: (result?: boolean)=>void) => void |
alert: (title: string, message?: string | {[key: string]: any}, callback?: (result?: boolean)=>void) => void |
||||||
confirm: (title: string, message?: string, callback?: (result: boolean)=>void) => void |
confirm: (title: string, message?: string | {[key: string]: any}, callback?: (result: boolean)=>void) => void |
||||||
prompt: (title: string, message?: string, value?: any, callback?: (result: string) => void, minWidth?: number) => void |
prompt: (title: string, message?: string, value?: any, callback?: (result: string) => void, minWidth?: number) => void |
||||||
toast: (message: string, options?: object, context?: HTMLElement ) => void |
toast: (message: string, options?: object, context?: HTMLElement) => void |
||||||
} |
} |
Loading…
Reference in new issue