Skip to main content

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?

Don't waste precious time on plugin issues.

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#

$ npm install cordova-plugin-native-spinner
$ npm install @ionic-native/spinner-dialog
$ ionic cap sync

Supported Platforms#

  • Android
  • iOS
  • Windows Phone 8
  • Windows

Usage#

React#

Learn more about using Ionic Native components in React

Angular#

import { SpinnerDialog } from '@ionic-native/spinner-dialog/ngx';
constructor(private spinnerDialog: SpinnerDialog) { }
...
this.spinnerDialog.show();
this.spinnerDialog.hide();