Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 666 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 666 Bytes

Cordova/PhoneGap ActivityIndicator Plugin

Plugin for Cordova 3.0+ that allows you to show a loading spinner and a message in your Android/iOS Cordova's app.

Adding the plugin to your project

To install the plugin, use the Cordova CLI and enter the following:
cordova plugin add https://github.com/seetadev/cordova-activity-indicator.git
OR
phonegap plugin add https://github.com/seetadev/cordova-activity-indicator.git

Platforms

  • Android
  • iOS

Use

To show the dialog, use the following code:
ActivityIndicator.show(message)

To hide the dialog, use the following code:
ActivityIndicator.hide()