class Topia::Spinner
- Topia::Spinner
- Reference
- Object
Defined in:
topia/spinner.crConstructors
-
.new(message : String = "")
Initialize a spinner with a message
Instance Method Summary
-
#error(msg : String)
Stop the spinner and show msg in red with ✗ prepended
- #message=(msg : String)
-
#start(msg : String = "")
Show the spinner
-
#stop(msg : String)
Stop the spinner ans show msg as provided
-
#success(msg : String)
Stop the spinner and show msg in green with ✓ prepended