pub struct HelperTextProperties {
pub aria_label: Option<AttrValue>,
pub children: ChildrenWithProps<HelperTextItem>,
pub class: Classes,
pub component: HelperTextComponent,
pub id: Option<AttrValue>,
pub live_region: bool,
pub hidden: bool,
}Fields§
§aria_label: Option<AttrValue>Adds an accessible label to the helper text when component is HelperTextComponent::Ul.
children: ChildrenWithProps<HelperTextItem>Content to be rendered inside the HelperText container. This must be a HelperTextItem component.
class: ClassesAdditional classes to be applied to the HelperText container.
component: HelperTextComponentSpecify the html element of the HelperText container. Defaults to using a div.
id: Option<AttrValue>id for the helper text container. The value of this prop can be passed into a form
component’s aria-describedby property when you intend for all helper text items to be
announced to assistive technologies.
live_region: boolFlag for indicating whether the helper text container is a live region. Use this prop when
you expect or intend for any HelperTextItem within the container to be dynamically updated.
Hides the HelperText
Trait Implementations§
Source§impl Clone for HelperTextProperties
impl Clone for HelperTextProperties
Source§fn clone(&self) -> HelperTextProperties
fn clone(&self) -> HelperTextProperties
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HelperTextProperties
impl Debug for HelperTextProperties
Source§impl PartialEq for HelperTextProperties
impl PartialEq for HelperTextProperties
Source§impl Properties for HelperTextProperties
impl Properties for HelperTextProperties
impl StructuralPartialEq for HelperTextProperties
Auto Trait Implementations§
impl Freeze for HelperTextProperties
impl !RefUnwindSafe for HelperTextProperties
impl !Send for HelperTextProperties
impl !Sync for HelperTextProperties
impl Unpin for HelperTextProperties
impl !UnwindSafe for HelperTextProperties
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
Mutably borrows from an owned value. Read more
§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)
🔬This is a nightly-only experimental API. (
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>
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.