Monday, November 26, 2018

Kony Timer

Set Function:
//nested function
function setcall1(){
  i = 0;
  frmtimer.lbltimer.text = i+" secs";
}
Call back Function:
function timerFuncCallBack()
{
  alert("innovike");
kony.timer.setCallBack("mytimer12",setcall1);
}

Callback Cancel Function:
function timercallbackcancel()
{

try
{
kony.timer.cancel("mytimer12");
}
catch(err)
{
alert("error in second button onclick and err is:: "+err);
}
}

0 comments:

Post a Comment