pub struct EuvButtonGroupedProps {
pub variant: EuvButtonVariant,
pub size: EuvButtonSize,
pub label: &'static str,
pub onclick: Option<Rc<dyn Fn(Event)>>,
pub disabled: Signal<bool>,
}Expand description
Props for the euv_button_grouped component.
A joined button is a button that sits inside a group of buttons, so it carries the same settings a plain button carries.
Fields§
§variant: EuvButtonVariantThe visual variant determining colour scheme.
size: EuvButtonSizeThe size of the control.
label: &'static strThe button label text, used as fallback when no children are provided.
onclick: Option<Rc<dyn Fn(Event)>>Optional click event handler.
disabled: Signal<bool>Whether the button is disabled.
Trait Implementations§
Source§impl Clone for EuvButtonGroupedProps
impl Clone for EuvButtonGroupedProps
Source§impl Debug for EuvButtonGroupedProps
impl Debug for EuvButtonGroupedProps
Auto Trait Implementations§
impl !RefUnwindSafe for EuvButtonGroupedProps
impl !Send for EuvButtonGroupedProps
impl !Sync for EuvButtonGroupedProps
impl !UnwindSafe for EuvButtonGroupedProps
impl Forget for EuvButtonGroupedProps
impl Freeze for EuvButtonGroupedProps
impl Move for EuvButtonGroupedProps
impl Unpin for EuvButtonGroupedProps
impl UnsafeUnpin for EuvButtonGroupedProps
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