Widget 2.0: newSpinner autohide request

I’d like to have an extra option where you can specify if the spinner will automatically hide/show itself.

Something like:

spinner = widget.newSpinner{… , autoHide=true};

  • upon creation the spinner would be invisible

  • spinner:start() would automatically make the spinner visible.

  • spinner:stop() would automatically hide the spinner.

I’ve forked Widget 2.0 from GitHub, and implemented this feature. A Pull request has been issued.

Woohoo!

Now, if only I knew how GitHub worked… :frowning:

 Jay

PS - Okay, I think a pull request means that at some point Corona Labs could roll your changes into the “official” (master?) branch and it would be available for everyone, yes? But until then it’s kind of in limbo?

@Jay

That’s correct. 

You can go to my fork and download my version of the repository as a ZIP file to test it out though…

I’ve forked Widget 2.0 from GitHub, and implemented this feature. A Pull request has been issued.

Woohoo!

Now, if only I knew how GitHub worked… :frowning:

 Jay

PS - Okay, I think a pull request means that at some point Corona Labs could roll your changes into the “official” (master?) branch and it would be available for everyone, yes? But until then it’s kind of in limbo?

@Jay

That’s correct. 

You can go to my fork and download my version of the repository as a ZIP file to test it out though…