Spinner Dialog
Cordova plugin for showing a native spinner based on Paldom/SpinnerDialog.
Requires Cordova plugin: cordova-plugin-native-spinner
. For more info, please see the Spinner Dialog plugin docs.
https://github.com/greybax/cordova-plugin-native-spinner
Stuck on a Cordova issue?
If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.
Installation
- Capacitor
- Cordova
- Enterprise
$ npm install cordova-plugin-native-spinner
$ npm install @awesome-cordova-plugins/spinner-dialog
$ ionic cap sync
$ ionic cordova plugin add cordova-plugin-native-spinner
$ npm install @awesome-cordova-plugins/spinner-dialog
Ionic Enterprise comes with fully supported and maintained plugins from the Ionic Team. Learn More or if you're interested in an enterprise version of this plugin Contact Us
Supported Platforms
- Android
- iOS
- Windows Phone 8
- Windows
Usage
React
Learn more about using Ionic Native components in React
Angular
import { SpinnerDialog } from '@awesome-cordova-plugins/spinner-dialog/ngx';
constructor(private spinnerDialog: SpinnerDialog) { }
...
this.spinnerDialog.show();
this.spinnerDialog.hide();