Closed ryanbuening closed 10 years ago
I'm trying to use the cancelable argument to display a simple alert, but I'm not able to get it fire. I've tried the following:
Alloy.Globals.loading.show('Loading...', function() { alert("cancel!");} );
and
Alloy.Globals.loading.show('Loading...', cancelled); function cancelled() { alert("cancel!"); };
Neither way worked. Am I not using the callback properly?
Do you have additional information for me?
SDK - 3.2.1.201402041146 Alloy - 1.3.1 Platform - iOS 7.0
I'm trying to use the cancelable argument to display a simple alert, but I'm not able to get it fire. I've tried the following:
and
Neither way worked. Am I not using the callback properly?