=======================
Cordova+PhoneGap Extension for displaying a native determinate progress dialog.
=======================
=======================
Small Plugin for displaying a native progress dialog. Ideal for synchronous operations (downloading, zipping). Runnning on a background thread.
=======================
- iOS, 7.1.2+
- Android, 4.0.0+
=======================
Via Cordova CLI:
cordova plugin add https://github.com/SidneyS/cordova-plugin-progressview.git
=======================
- Wait for
deviceReady
. show()
the native progress dialog.- Update progress via
setProgress()
. hide()
the native progress dialog.
=======================
ProgressView.show: function (progressLabel, progressType, progressTheme)
Shows a progress dialog.
- params
- progressLabel - Text description of current operation.
- progressType - Type of dialog - "CIRCLE" (Default), "HORIZONTAL"
- progressTheme - Visual Theme (Android only) - "DEVICE_LIGHT" (Default), "TRADITIONAL", "DEVICE_DARK", "HOLO_DARK", "HOLO_LIGHT"
ProgressView.setProgress: function (progressPercentage)
Updates displayed progress dialog percentage.
- params
- progressPercentage - Floating point value (0.1 - 1.0), representing the percentage to be displayed.
ProgressView.hide: function ()
Hides progress dialog.
- params
- progressPercentage - Floating point value (0.1 - 1.0), representing the percentage to be displayed.