Spinner Dialog

Improve this doc

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

Repo: https://github.com/Paldom/SpinnerDialog

Supported platforms

Usage

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

constructor(private spinnerDialog: SpinnerDialog) { }

...

this.spinnerDialog.show();

this.spinnerDialog.hide();

Instance Members

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 true 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

SpinnerDialogIOSOptions

Param Type Details
overlayOpacity number (optional)
textColorRed number (optional)
textColorGreen number (optional)
textColorBlue number (optional)

API

Native

General