ibihelpme_ShowConfirmMessageBox
| Signatur | ibihelpme_ShowConfirmMessageBox(message: string, title: string): boolean |
|---|---|
| Beschreibung | Zeigt einen Bestätigungsdialog an |
| Verfügbar ab API-Version | 1.0.0 |
Parameter
| Name | Typ | Beschreibung |
|---|---|---|
| message | string | Nachricht, welche im Bestätigungsdialog angezeigt wird |
| title | string | Titel, welcher im Bestätigungsdialog angezeigt wird |
Rückgabewert
| true, wenn "Ja" ausgewählt wurde, sonst false |
|---|
Beispiel
JS
var confirmed = window.external.ibihelpme_ShowConfirmMessageBox('Wanna cancel?', 'Cancel?');
if(confirmed)
closeWindow();