euv-ui 0.32.2

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
use super::*;

/// Reactive state for the clipboard.
///
/// The handle carries the outcome of the last write. The write itself
/// is asynchronous — the browser answers a promise — so the status is
/// the reactive part.
#[derive(Clone, CustomDebug, Data)]
pub struct UseClipboard {
    /// The outcome of the last write.
    #[get(type(copy))]
    pub status: Signal<UseClipboardStatus>,
}