class

Topia::Spinner

Inherits Reference < Object

Constructors

new(message : String = "")

Initialize a spinner with a message

Source

Instance methods

error(msg : String)

Stop the spinner and show msg in red with ✗ prepended

Source
message=(msg : String)
Source
start(msg : String = "")

Show the spinner

Source
stop(msg : String)

Stop the spinner ans show msg as provided

Source
success(msg : String)

Stop the spinner and show msg in green with ✓ prepended

Source