pub struct EuvInputGroupInputProps {
pub id: &'static str,
pub placeholder: &'static str,
pub value: Signal<String>,
pub disabled: Signal<bool>,
pub oninput: Option<Rc<dyn Fn(Event)>>,
}Expand description
Props for the euv_input_group_input component.
The control is the single-line field of the group; the group draws the frame around it, so the field itself carries no border.
Fields§
§id: &'static strThe unique identifier of the input element.
placeholder: &'static strThe placeholder text shown when the field is empty.
value: Signal<String>The current text (reactive signal).
disabled: Signal<bool>Whether the field is disabled.
oninput: Option<Rc<dyn Fn(Event)>>Optional input event handler.
Implementations§
Source§impl EuvInputGroupInputProps
impl EuvInputGroupInputProps
pub fn get_id(&self) -> &'static str
pub fn get_mut_id(&mut self) -> &mut &'static str
pub fn set_id(&mut self, val: &'static str) -> &mut Self
pub fn get_placeholder(&self) -> &'static str
pub fn get_mut_placeholder(&mut self) -> &mut &'static str
pub fn set_placeholder(&mut self, val: &'static str) -> &mut Self
pub fn get_value(&self) -> &Signal<String>
pub fn get_mut_value(&mut self) -> &mut Signal<String>
pub fn set_value(&mut self, val: Signal<String>) -> &mut Self
pub fn get_disabled(&self) -> Signal<bool>
pub fn get_mut_disabled(&mut self) -> &mut Signal<bool>
pub fn set_disabled(&mut self, val: Signal<bool>) -> &mut Self
pub fn get_oninput(&self) -> Rc<dyn Fn(Event) + 'static>
pub fn try_get_oninput(&self) -> &Option<Rc<dyn Fn(Event) + 'static>>
pub fn get_mut_oninput(&mut self) -> &mut Option<Rc<dyn Fn(Event) + 'static>>
pub fn set_oninput( &mut self, val: Option<Rc<dyn Fn(Event) + 'static>>, ) -> &mut Self
Trait Implementations§
Source§impl Clone for EuvInputGroupInputProps
impl Clone for EuvInputGroupInputProps
Source§impl Debug for EuvInputGroupInputProps
impl Debug for EuvInputGroupInputProps
Auto Trait Implementations§
impl !RefUnwindSafe for EuvInputGroupInputProps
impl !Send for EuvInputGroupInputProps
impl !Sync for EuvInputGroupInputProps
impl !UnwindSafe for EuvInputGroupInputProps
impl Forget for EuvInputGroupInputProps
impl Freeze for EuvInputGroupInputProps
impl Move for EuvInputGroupInputProps
impl Unpin for EuvInputGroupInputProps
impl UnsafeUnpin for EuvInputGroupInputProps
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