Spinner Dialog
$ ionic plugin add cordova-plugin-spinner-dialog
Repo: https://github.com/Paldom/SpinnerDialog
Supported platforms
- Android
- iOS
- Windows Phone 8
Usage
import {SpinnerDialog} from 'ionic-native';
SpinnerDialog.show();
SpinnerDialog.hide();
Static Methods
show(title, message, cancelCallback, iOSOptions)
Shows the spinner dialog
Param | Type | Details |
---|---|---|
title |
string
|
Spinner title (shows on Android only) |
message |
string
|
Spinner message |
cancelCallback |
boolean |function()
|
Set to false to set spinner not cancelable. Or provide a function to call when the user cancels the spinner. |
iOSOptions |
object
|
Options for iOS only |
hide()
Hides the spinner dialog if visible