euv-ui 0.36.3

Reusable UI component library for the euv framework, providing buttons, cards, modals, inputs, and more.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use super::*;

/// Props for the `euv_spinner` component.
///
/// The spinner is a busy indicator, so it always carries an accessible
/// name: the `label` is written into `aria-label` whether or not it is
/// also shown next to the glyph.
#[derive(Clone, CustomDebug, Data, Default, New)]
pub struct EuvSpinnerProps {
    /// The accessible name of the busy indicator.
    #[get(type(copy))]
    pub label: &'static str,
    /// Whether the label is also shown next to the glyph.
    #[get(type(copy))]
    pub show_label: Signal<bool>,
}