Closed abada closed 8 years ago
This an example
alloy.js
Alloy.Globals.loading = Alloy.createWidget("nl.fokkezb.loading");
.xml
<NavigationWindow animationCenter="true" modal="true" id="nav_cart" platform="ios"> <Window id="cart_win" title="Cart"> <Require src="cart/shared_cart_template" id="shared_cart_template" type="view" /> </Window> </NavigationWindow>
.js
Alloy.Globals.loading.show('Your message');
I solved it by
<Widget src="nl.fokkezb.loading" name="view" id="my_loading" />
$.my_loading.show('loading ...');
The problem is from a global instance of the widget in alloy.js
The issue is that you've set the NavWin to be modal. I've added a note about this:
https://github.com/FokkeZB/nl.fokkezb.loading/blob/master/README.md#view
This an example
alloy.js
.xml
.js
I solved it by
.xml
The problem is from a global instance of the widget in
alloy.js