Spinner Dialog

Contents

Cordova plugin for showing a native spinner based on Paldom/SpinnerDialog.

https://github.com/greybax/cordova-plugin-native-spinner

Ionic Spinner Dialog插件的安装(Installation)

ionic cordova plugin add cordova-plugin-native-spinner npm install @ionic-native/spinner-dialog

Ionic Spinner Dialog插件支持的平台(Supported Platforms)

  • Android
  • iOS
  • Windows Phone 8
  • Windows

Ionic Spinner Dialog插件的用法(Usage)

import { SpinnerDialog } from '@ionic-native/spinner-dialog';

constructor(private spinnerDialog: SpinnerDialog) { }

...

this.spinnerDialog.show();

this.spinnerDialog.hide();