Raxol.Components.Progress.Spinner (Raxol v0.2.0)
View SourceA spinner component that provides animated loading indicators.
Props
:style- The animation style to use (default: :dots):dots- Rotating dots (⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏):line- Rotating line (|/-):bounce- Bouncing ball (⠁⠂⠄⠂):pulse- Pulsing circle (●○):custom- Custom animation using:frames:frames- List of characters to use for custom animation:colors- List of colors to transition between:speed- Animation speed in milliseconds (default: 80):text- Optional text to display next to the spinner:text_position- Position of text relative to spinner (:left or :right, default: :right)
Summary
Functions
Callback implementation for Raxol.UI.Components.Base.Component.mount/1.
Callback implementation for Raxol.UI.Components.Base.Component.unmount/1.
Functions
Callback implementation for Raxol.UI.Components.Base.Component.mount/1.
Callback implementation for Raxol.UI.Components.Base.Component.unmount/1.