Methods
Static showAlert
- showAlert(title: string, message: string, callback?: any, modal?: boolean, animateDisable?: boolean): void
-
Parameters
-
title: string
-
message: string
-
Optional callback: any
-
Optional modal: boolean
-
Optional animateDisable: boolean
Returns void
Static showCode
- showCode(obj: any, value: string, linenumber?: boolean, lang?: string): void
-
Parameters
-
obj: any
-
value: string
-
Optional linenumber: boolean
-
Optional lang: string
Returns void
Static showConfirm
- showConfirm(title: string, message: string, callback: any, config?: any): void
-
Parameters
-
title: string
-
message: string
-
callback: any
-
Optional config: any
Returns void
Static showContent
- showContent(obj: any, title: string, text: string, modal?: boolean): void
-
Parameters
-
obj: any
-
title: string
-
text: string
-
Optional modal: boolean
Returns void
Static showDeleteDataAlert
- showDeleteDataAlert(title: string, message: string, confirmCallBack: any, confirmButtonText?: string): void
-
Parameters
-
title: string
-
message: string
-
confirmCallBack: any
-
Optional confirmButtonText: string
Returns void
Static showEditor
- showEditor(obj: any, title: string, callBack: any, defaultValue?: string): void
-
Parameters
-
obj: any
-
title: string
-
callBack: any
-
Optional defaultValue: string
Returns void
Static showEditorHtml
- showEditorHtml(obj: any, title: string, content: string): void
-
Parameters
-
obj: any
-
title: string
-
content: string
Returns void
Static showException
- showException(e: any, from?: string): void
-
Parameters
-
e: any
-
Optional from: string
Returns void
Static showFastColorPicker
- showFastColorPicker(obj: any, defaultValue: string, onColorChange: any): any
-
Parameters
-
obj: any
-
defaultValue: string
-
onColorChange: any
Returns any
Ext.Promise
Static showFastDatePicker
- showFastDatePicker(obj: any, defaultValue: string, dateFormat: string): any
-
Parameters
-
obj: any
-
defaultValue: string
-
dateFormat: string
Returns any
Ext.Promise
Static showFormatJson
- showFormatJson(obj: any, value: string): void
Static showHtml
- showHtml(obj: any, title: string, content: string, modal?: boolean): any
-
Parameters
-
obj: any
-
title: string
-
content: string
-
Optional modal: boolean
Returns any
Static showImage
- showImage(obj: any, url: string, callBack: any, modal?: boolean): void
-
Parameters
-
obj: any
-
url: string
-
callBack: any
-
Optional modal: boolean
Returns void
Static showJson
- showJson(obj: any, title: string, value: string): void
-
Parameters
-
obj: any
-
title: string
-
value: string
Returns void
Static showLink
- showLink(obj: any, title: string, url: string, config: any, loadDoneCallBack?: any): void
-
Parameters
-
obj: any
-
title: string
-
url: string
-
config: any
-
Optional loadDoneCallBack: any
Returns void
Static showLottie
- showLottie(obj: any, jsonPath: string): void
-
Parameters
-
obj: any
-
jsonPath: string
Returns void
Static showMusic
- showMusic(obj: any, musicUrl: string): void
-
Parameters
-
obj: any
-
musicUrl: string
Returns void
Static showPrompt
- showPrompt(title: string, message: string, callback: any, multiline?: boolean, value?: string): void
-
Parameters
-
title: string
-
message: string
-
callback: any
-
Optional multiline: boolean
-
Optional value: string
Returns void
Static showSafeHtml
- showSafeHtml(obj: any, title: string, content: string, modal?: boolean): any
-
Parameters
-
obj: any
-
title: string
-
content: string
-
Optional modal: boolean
Returns any
Static showSql
- showSql(obj: any, value: string): void
Static showText
- showText(obj: any, icon: string, title: string, text: string, modal?: boolean): void
-
Parameters
-
obj: any
-
icon: string
-
title: string
-
text: string
-
Optional modal: boolean
Returns void
Static showTip
- showTip(title: string, message: string, callback: any): void
-
Parameters
-
title: string
-
message: string
-
callback: any
Returns void
Static showVideo
- showVideo(obj: any, videoUrl: string): void
-
Parameters
-
obj: any
-
videoUrl: string
Returns void
Static showWait
- showWait(message: string): void
Static showWarning
- showWarning(message: string, callback: any): void
-
Parameters
-
message: string
-
callback: any
Returns void
Static toast
- toast(message: string): void
全局弹框相关操作