
Security News
npm Introduces minimumReleaseAge and Bulk OIDC Configuration
npm rolls out a package release cooldown and scalable trusted publishing updates as ecosystem adoption of install safeguards grows.
cordova-plugin-progress
Advanced tools
Cordova / PhoneGap Plugin for Progress HUD Notifications via KVNProgress
Cordova / PhoneGap Plugin for Progress HUD Notifications via KVNProgress.
cordova plugin add cordova-plugin-progress
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.
Show the basic indeterminate progress loader.
// with success and error handlers
progress.show(successHandler, errorHandler);
// without callback functions
progress.show();
Show the basic indeterminate progress loader, with text. When text is supplied, the loader width is larger.
// with success and error handlers
progress.show(successHandler, errorHandler, {"text": "Loading..."});
// with success and error handlers (shorthand)
progress.show(successHandler, errorHandler, "Loading...");
// without callback functions
progress.show({"text": "Loading..."});
// without callback functions (shorthand)
progress.show("Loading...");
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 handlers
progress.update(successHandler, errorHandler, {"text": "Still loading..."});
// with success and error handlers (shorthand)
progress.update(successHandler, errorHandler, "Still loading...");
// without callback functions
progress.update({"text": "Still loading..."});
// without callback functions (shorthand)
progress.update("Still loading...");
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 handlers
progress.update(successHandler, errorHandler);
// without callback functions
progress.update();
Hide the loader. Note that the successHandler is called after the loader has completely disappeared.
// with success and error handlers
progress.hide(successHandler, errorHandler);
// without callback functions
progress.hide();
// after the cordova device ready event has fired
progress.show("Loading...");
setTimeout(function () {
progress.update("Still loading...");
}, 1500);
setTimeout(function () {
progress.hide();
}, 3000);
iOS (7+) only.
FAQs
Cordova / PhoneGap Plugin for Progress HUD Notifications via KVNProgress
The npm package cordova-plugin-progress receives a total of 2 weekly downloads. As such, cordova-plugin-progress popularity was classified as not popular.
We found that cordova-plugin-progress demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
npm rolls out a package release cooldown and scalable trusted publishing updates as ecosystem adoption of install safeguards grows.

Security News
AI agents are writing more code than ever, and that's creating new supply chain risks. Feross joins the Risky Business Podcast to break down what that means for open source security.

Research
/Security News
Socket uncovered four malicious NuGet packages targeting ASP.NET apps, using a typosquatted dropper and localhost proxy to steal Identity data and backdoor apps.