showAlert( )


Creates and opens an alert modal on your mobile app.

When an app user selects an action button in the alert modal, the showAlert() function returns a Promise that resolves to the alert's result.

Customize the alert modal's title and message, and choose which actions an app user can take when the modal appears.

メソッド宣言
コピー
メソッド・パラメータ
titlestringRequired

Alert title.


messagestringRequired

Alert message.


actionsActionsRequired

Alert actions.

リターン
Return Type:Promise<AlertResult>
役に立ちましたか?
はい
いいえ