Home > SYS_ToastMessage > showMessage
SYS_ToastMessage.showMessage() method
显示吐司消息
Signature
typescript
showMessage(message: string, messageType?: ESYS_ToastMessageType, timer?: number, bottomPanel?: ESYS_BottomPanelTab, buttonTitle?: string, buttonCallbackFn?: string): void;
1
Parameters
Parameter | Type | Description |
---|---|---|
message | string | 消息内容 |
messageType | (Optional) 消息类型 | |
timer | number | (Optional) 自动关闭倒计时秒数, |
bottomPanel | (Optional) 展开底部信息面板 | |
buttonTitle | string | (Optional) 回调按钮标题 |
buttonCallbackFn | string | (Optional) 回调函数内容,字符串形式,会被自动解析并执行 |
Returns
void