FokkeZB / nl.fokkezb.loading

The widget provides a simple loading mask that can be easily styled and configured.
93 stars 18 forks source link

Controller has no method update #26

Closed cra1gs closed 9 years ago

cra1gs commented 9 years ago

I am sure this is something I have done incorrectly. So is it possible to see an example of update please?

I am using the below

Alloy.Globals.loading.show('Loading...', false);

Alloy.Globals.loading.update('new text', false);

But I get the error: Message: Uncaught TypeError: Object # has no method 'update'

Thanks

FokkeZB commented 9 years ago

I've updated the readme to inform you that update() is not available in global-mode. Simply call show() again.

cra1gs commented 9 years ago

Thanks. I didn't think to try that.