Cordova / PhoneGap Plugin for Progress HUD Notifications via KVNProgress.
Demo

Install
Latest published version on npm (with Cordova CLI >= 5.0.0)
cordova plugin add cordova-plugin-progress
Latest version from GitHub
cordova plugin add https://github.com/leecrossley/cordova-plugin-progress.git
You do not need to reference any JavaScript, the Cordova plugin architecture will add a progress
object to your root automatically when you build.
Usage
show
Show the basic indeterminate progress loader.
// with success and error handlersprogress; // without callback functionsprogress;
Show the basic indeterminate progress loader, with text. When text is supplied, the loader width is larger.
// with success and error handlersprogress; // with success and error handlers (shorthand)progress; // without callback functionsprogress; // without callback functions (shorthand)progress;
update
Update the loader text on the fly (animated). If the loader was initiated without text, the width will remain smaller than if it was initiated with text.
// with success and error handlersprogress; // with success and error handlers (shorthand)progress; // without callback functionsprogress; // without callback functions (shorthand)progress;
You can also use the update function to remove any previous text (an empty string is treated the same as omitting the string).
// with success and error handlersprogress; // without callback functionsprogress;
hide
Hide the loader. Note that the successHandler
is called after the loader has completely disappeared.
// with success and error handlersprogress; // without callback functionsprogress;
Full basic example
// after the cordova device ready event has firedprogress; ; ;
Platforms
iOS (7+) only.