Update spinnerdialog.ts to fix wrong documentation (#287)

Just implemented the SpinnerDialog into my app to use with Ionic Deploy.

The cancelCallback still happens when set to "false", when setting it to "true, the cancelCallback doesn't get called and therefore the SpinnerDialog doesn't hide on Android.
This commit is contained in:
Nick Kenens 2016-07-13 23:36:23 +02:00 committed by Ibrahim Hadeed
parent 9a28b24a0b
commit 0315e63782

View File

@ -27,7 +27,7 @@ export class SpinnerDialog {
* Shows the spinner dialog * Shows the spinner dialog
* @param title {string} Spinner title (shows on Android only) * @param title {string} Spinner title (shows on Android only)
* @param message {string} Spinner message * @param message {string} Spinner message
* @param cancelCallback {boolean|function} Set to false to set spinner not cancelable. Or provide a function to call when the user cancels the spinner. * @param cancelCallback {boolean|function} Set to true to set spinner not cancelable. Or provide a function to call when the user cancels the spinner.
* @param iOSOptions {object} Options for iOS only * @param iOSOptions {object} Options for iOS only
*/ */
@Cordova({ @Cordova({