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.