Expand description
Spinner component for loading indicators.
This module provides animated spinners with multiple preset styles.
§Example
use bubbles::spinner::{Spinner, SpinnerModel, spinners};
// Create a spinner with the default style
let spinner = SpinnerModel::new();
// Or with a specific style
let spinner = SpinnerModel::with_spinner(spinners::dot());
// Get the tick command to start animation
let tick_msg = spinner.tick();Modules§
- spinners
- Predefined spinner styles.
Structs§
- Spinner
- A spinner animation definition.
- Spinner
Model - The spinner model.
- TickMsg
- Message indicating that the spinner should advance to the next frame.