pub struct EuvInputGroupTextareaProps {
pub id: &'static str,
pub placeholder: &'static str,
pub value: Signal<String>,
pub rows: i32,
pub disabled: Signal<bool>,
pub oninput: Option<Rc<dyn Fn(Event)>>,
}Expand description
Props for the euv_input_group_textarea component.
The control is the multi-line field of the group.
Fields§
§id: &'static strThe unique identifier of the textarea element.
placeholder: &'static strThe placeholder text shown when the field is empty.
value: Signal<String>The current text (reactive signal).
rows: i32The visible height of the field in rows. Zero means the default.
disabled: Signal<bool>Whether the field is disabled.
oninput: Option<Rc<dyn Fn(Event)>>Optional input event handler.
Implementations§
Source§impl EuvInputGroupTextareaProps
impl EuvInputGroupTextareaProps
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_rows(&self) -> i32
pub fn get_mut_rows(&mut self) -> &mut i32
pub fn set_rows(&mut self, val: i32) -> &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 EuvInputGroupTextareaProps
impl Clone for EuvInputGroupTextareaProps
Source§impl Debug for EuvInputGroupTextareaProps
impl Debug for EuvInputGroupTextareaProps
Auto Trait Implementations§
impl !RefUnwindSafe for EuvInputGroupTextareaProps
impl !Send for EuvInputGroupTextareaProps
impl !Sync for EuvInputGroupTextareaProps
impl !UnwindSafe for EuvInputGroupTextareaProps
impl Forget for EuvInputGroupTextareaProps
impl Freeze for EuvInputGroupTextareaProps
impl Move for EuvInputGroupTextareaProps
impl Unpin for EuvInputGroupTextareaProps
impl UnsafeUnpin for EuvInputGroupTextareaProps
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