mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 16:52:53 +08:00
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:
parent
9a28b24a0b
commit
0315e63782
@ -27,7 +27,7 @@ export class SpinnerDialog {
|
||||
* Shows the spinner dialog
|
||||
* @param title {string} Spinner title (shows on Android only)
|
||||
* @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
|
||||
*/
|
||||
@Cordova({
|
||||
@ -50,4 +50,4 @@ export interface SpinnerDialogIOSOptions {
|
||||
textColorRed?: number;
|
||||
textColorGreen?: number;
|
||||
textColorBlue?: number;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user