Can I wait keyboard blur complete run other window or things?
I set textfield.blur();
the keyboard have drop down.
but I want to show other window after the keyboard drop down complete.
if i write code below
var ani = Titanium.UI.createAnimation(); ani.top = 0; ani.duration = 3000; textfield.animate(ani); ani.addEventListener('complete', function(e){ // run other things });It will textfield run animate, not the keyboard drop down .
If I set textfield.blur();
It is just keyboard drop down and do other things at the same time.
Can I do my things(ex. run other window or view,etc ) after set keyboard drop down complete?
thank you very much.
1 Answer
Accepted Answer
Hi Chang YuanYu,
Try this way that may help you.Best luck
textfield.addEventListener('blur',function(evt){ setTimeout(function(e){ //===== run other things },500); });
Your Answer
Think you can help? Login to answer this question!