pub struct GTextInputProps {Show 39 fields
pub style: GInputStyle,
pub name: AttrValue,
pub event: GInputEvent,
pub input_type: AttrValue,
pub class: AttrValue,
pub required: bool,
pub multiple: bool,
pub readonly: bool,
pub maxlength: Option<i32>,
pub max: Option<AttrValue>,
pub minlength: Option<i32>,
pub min: Option<AttrValue>,
pub step: Option<AttrValue>,
pub no_spinner: Option<bool>,
pub value: AttrValue,
pub autocomplete: AttrValue,
pub pattern: Option<AttrValue>,
pub autofocus: bool,
pub disabled: bool,
pub inputmode: Option<AttrValue>,
pub id: AttrValue,
pub label: AttrValue,
pub onchange: Callback<AttrValue>,
pub width: AttrValue,
pub height: Option<AttrValue>,
pub font_size: AttrValue,
pub border_radius: AttrValue,
pub border_color: AttrValue,
pub border_color_hover: AttrValue,
pub border_focus_color: AttrValue,
pub label_background_color: AttrValue,
pub label_text_color: AttrValue,
pub align_supporting_text: AttrValue,
pub supporting_text_color: Option<AttrValue>,
pub supporting_text: Option<AttrValue>,
pub no_asterisk: bool,
pub has_leading_icon: bool,
pub has_trailing_icon: bool,
pub children: Html,
}Fields§
§style: GInputStyle§name: AttrValue§event: GInputEvent§input_type: AttrValue§class: AttrValue§required: bool§multiple: bool§readonly: bool§maxlength: Option<i32>§max: Option<AttrValue>§minlength: Option<i32>§min: Option<AttrValue>§step: Option<AttrValue>§no_spinner: Option<bool>§value: AttrValue§autocomplete: AttrValue§pattern: Option<AttrValue>§autofocus: bool§disabled: bool§inputmode: Option<AttrValue>§id: AttrValue§label: AttrValue§onchange: Callback<AttrValue>§width: AttrValue§height: Option<AttrValue>§font_size: AttrValue§border_radius: AttrValue§border_color: AttrValue§border_color_hover: AttrValue§border_focus_color: AttrValue§label_background_color: AttrValue§label_text_color: AttrValue§align_supporting_text: AttrValue§supporting_text_color: Option<AttrValue>§supporting_text: Option<AttrValue>§no_asterisk: bool§has_leading_icon: bool§has_trailing_icon: bool§children: HtmlTrait Implementations§
Source§impl PartialEq for GTextInputProps
impl PartialEq for GTextInputProps
Source§impl Properties for GTextInputProps
impl Properties for GTextInputProps
impl StructuralPartialEq for GTextInputProps
Auto Trait Implementations§
impl Freeze for GTextInputProps
impl !RefUnwindSafe for GTextInputProps
impl !Send for GTextInputProps
impl !Sync for GTextInputProps
impl Unpin for GTextInputProps
impl !UnwindSafe for GTextInputProps
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.