Browse Source

DESIGN-3918 feat: toast新增loading效果

es6
zsmj 2 years ago
parent
commit
877946c848
  1. 2
      typescript/base/foundation/message.ts

2
typescript/base/foundation/message.ts

@ -8,5 +8,5 @@ export type _msg = {
alert: (title: string, message?: string | { [key: string]: any }, 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
toast: (message: string, options?: toastOptions | string, context?: HTMLElement) => void
toast: (message: string | Obj, options?: toastOptions | string, context?: HTMLElement) => void
}

Loading…
Cancel
Save