pub struct HelperTextItemProperties {
pub children: Html,
pub class: Classes,
pub component: HelperTextItemComponent,
pub dynamic: bool,
pub icon: HelperTextItemIcon,
pub id: Option<AttrValue>,
pub screen_reader_text: AttrValue,
pub variant: HelperTextItemVariant,
}Fields§
§children: HtmlContent to be rendered inside the HelperTextItem.
class: ClassesAdditional classes to be applied to the HelperTextItem.
component: HelperTextItemComponentSet the type of html element to use. When HelperTextItem is used as a child of
HelperText this property is set automatically.
dynamic: boolFlag to modifies a HelperTextItem to be dynamic. For use when the item changes state as
the form field the text is associated with is updated.
icon: HelperTextItemIconControls the icon prefixing the helper text. The default is to show an icon when the
dynamic property is true
id: Option<AttrValue>id for the HelperTextItem. The value of this property can be passed into a form
component’s aria-describedby property when you intend for only specific helper text items
to be announced to assistive technologies.
screen_reader_text: AttrValueText that is only accessible to screen readers in order to announce the status of the
HelperTextItem. This property is only used when the dynamic is true.
variant: HelperTextItemVariantVariant styling of the helper text item
Trait Implementations§
Source§impl Clone for HelperTextItemProperties
impl Clone for HelperTextItemProperties
Source§fn clone(&self) -> HelperTextItemProperties
fn clone(&self) -> HelperTextItemProperties
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for HelperTextItemProperties
impl Debug for HelperTextItemProperties
Source§impl PartialEq for HelperTextItemProperties
impl PartialEq for HelperTextItemProperties
impl StructuralPartialEq for HelperTextItemProperties
Auto Trait Implementations§
impl Freeze for HelperTextItemProperties
impl !RefUnwindSafe for HelperTextItemProperties
impl !Send for HelperTextItemProperties
impl !Sync for HelperTextItemProperties
impl Unpin for HelperTextItemProperties
impl !UnwindSafe for HelperTextItemProperties
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)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>
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
self to a value of a Properties struct.