diff --git a/src/@ionic-native/plugins/dialogs/index.ts b/src/@ionic-native/plugins/dialogs/index.ts index 04ae9166a..56c911769 100644 --- a/src/@ionic-native/plugins/dialogs/index.ts +++ b/src/@ionic-native/plugins/dialogs/index.ts @@ -69,7 +69,7 @@ export class Dialogs extends IonicNativePlugin { * @param {string} message Dialog message. * @param {string} title Dialog title. (Optional, defaults to Confirm) * @param {Array} buttonLabels Array of strings specifying button labels. (Optional, defaults to [OK,Cancel]) - * @returns {Promise} Returns a promise that resolves the button index that was clicked. Note that the index use one-based indexing. + * @returns {Promise} Returns a promise that resolves the button index that was clicked, or 0 if the user has dismissed the dialog by clicking outside the dialog box. Note that the index use one-based indexing. */ @Cordova({ successIndex: 1,