Parameters
|
Name
|
Type
|
Description
|
title
|
string
|
The title
|
iconUrl
|
string
|
The URL of the icon you want to display in the title bar of the custom toast popup.
|
subject
|
string
|
Optional. The subject
|
message
|
string
|
Optional. The message
|
keyValues
|
string
|
Optional. JSON object used to fill the key value pair list. For example: {"key1" ; "value one","key2" ; "value two","key3" ; "value three"}.
|
buttons
|
Array.<string>
|
Optional. Each character string in this array becomes a button.
|
buttonShowDismiss
|
boolean
|
Optional. If set to true, displays the Show and Dismiss buttons and pops up the current iframe if the Show button is pushed. If set to false , displays '"OK"' or custom buttons based on the parameter's buttons.
|
autoCloseTimeout
|
object
|
Optional. If set to greater than 0, the popup is automatically closed after the specified milliseconds.
|
sendToMyMessage
|
object
|
Optional. If set to true, sends the subject, iconUrl, title, keyValues, and message parameters to the MyMessage panel.
|
|