Opal::UI::LoadingIndicator
Inherits Opal::UI::Element < Opal::UI::Themable < Reference < Object
Animated loading spinner indicator inspired by Python Textual's LoadingIndicator. Supports multiple animation styles (:dots, :pulse, :bars, :orbit), customizable labels, and theme colors.
Constants
SPINNERS = {
dots: ["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"],
pulse: ["░", "▒", "▓", "█", "▓", "▒"],
bars: [" ", "▃", "▄", "▅", "▆", "▇", "█", "▇", "▆", "▅", "▄", "▃"],
orbit: ["◐", "◓", "◑", "◒"],
}
Constructors
Instance methods
fg
Sourcefg=(fg : Color | Nil)
Sourceframe
Sourcelabel
Sourcelabel_fg
Sourcelabel_fg=(label_fg : Color | Nil)
Sourcestyle
Source