Cordova Plugin show Count Down Dialog
Developed plugin for show android native dialog and display count down except loader (Spinner) image.
Screenshots
Installation
cordova plugin add https://github.com/LokeshPatel/com-lokeshpatel-countdowndialog.git
Local Path Installation
cordova plugin add com-lokeshpatel-countdowndialog
Methods
CountDownDialog.show
CountDownDialog.hide
Count Down Dialog show default
CountDownDialog.show();
Need to custom count down dialog :
Change fontSize,fontColor,increase/decrease time and start form 1/0.
var option = {"countTime":"12000",
"fontSize":"150",
"fontColor":"#FFF000",
"isCountStartFormOne":"true"};
CountDownDialog.show(option);
- countTime: Set time for count down up to Optional .(String)
- fontSize: Set font size Optional. (String)
- fontColor: Set font color Optional. (String)
- isCountStartFormOne: Set true/false when start count down form 1/0 : (String)
CountDownDialog.hide
CountDownDialog.hide();