Browse Source

增加描述

master
Roy.Liu 4 years ago
parent
commit
b951334845
  1. 6
      typescript/base/foundation/message.ts

6
typescript/base/foundation/message.ts

@ -0,0 +1,6 @@
export type _msg = {
alert: (title: string, message?: string, callback?: (result?: boolean)=>void) => void
confirm: (title: string, message?: string, callback?: (result: boolean)=>void) => void
prompt: (title: string, message?: string, value?: any, callback?: (result: string) => void, min_width?: number) => void
toast: (message: string, options?: object, context?: HTMLElement ) => void
}
Loading…
Cancel
Save