pub struct EuvAlertDialogActionProps {
pub label: &'static str,
pub variant: Option<EuvButtonVariant>,
pub open: Signal<bool>,
pub onclick: Option<Rc<dyn Fn(Event)>>,
}Expand description
Props of the euv_alert_dialog_action component.
Fields§
§label: &'static strThe label of the button.
variant: Option<EuvButtonVariant>The visual button variant, defaulting to the primary treatment.
open: Signal<bool>The shared open state that the action closes.
onclick: Option<Rc<dyn Fn(Event)>>Optional action callback invoked before the dialog closes.
Trait Implementations§
Source§impl Clone for EuvAlertDialogActionProps
impl Clone for EuvAlertDialogActionProps
Source§impl Debug for EuvAlertDialogActionProps
impl Debug for EuvAlertDialogActionProps
Auto Trait Implementations§
impl !RefUnwindSafe for EuvAlertDialogActionProps
impl !Send for EuvAlertDialogActionProps
impl !Sync for EuvAlertDialogActionProps
impl !UnwindSafe for EuvAlertDialogActionProps
impl Forget for EuvAlertDialogActionProps
impl Freeze for EuvAlertDialogActionProps
impl Move for EuvAlertDialogActionProps
impl Unpin for EuvAlertDialogActionProps
impl UnsafeUnpin for EuvAlertDialogActionProps
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more