Struct material_yew::tabs::TabProps
source · pub struct TabProps {
pub label: Option<AttrValue>,
pub icon: Option<AttrValue>,
pub has_image_icon: bool,
pub indicator_icon: Option<AttrValue>,
pub is_fading_indicator: bool,
pub min_width: bool,
pub is_min_width_indicator: bool,
pub stacked: bool,
pub oninteracted: Callback<String>,
pub children: Children,
}
Expand description
Props for MatTab
MWC Documentation properties and events
Fields§
§label: Option<AttrValue>
§icon: Option<AttrValue>
§has_image_icon: bool
§indicator_icon: Option<AttrValue>
§is_fading_indicator: bool
§min_width: bool
§is_min_width_indicator: bool
§stacked: bool
§oninteracted: Callback<String>
Binds to MDCTab:interacted
event on mwc-tab
See events docs to learn more.
children: Children
Trait Implementations§
source§impl PartialEq<TabProps> for TabProps
impl PartialEq<TabProps> for TabProps
impl StructuralPartialEq for TabProps
Auto Trait Implementations§
impl !RefUnwindSafe for TabProps
impl !Send for TabProps
impl !Sync for TabProps
impl Unpin for TabProps
impl !UnwindSafe for TabProps
Blanket Implementations§
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>
§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.