pub struct ListGroupItemProps {
pub children: Children,
pub class: Classes,
pub style: Option<Color>,
pub active: bool,
pub disabled: bool,
pub action: bool,
pub url: Option<AttrValue>,
pub onclick: Callback<MouseEvent>,
}Expand description
§Properties for ListGroupItem
Fields§
§children: ChildrenInner components (displayed in the ListGroupItem).
class: ClassesExtra CSS classes to include, in addition to the defaults.
style: Option<Color>Optional color to use for the background and border of this item.
active: boolWhether this item is the currently active one
disabled: boolWhether this item is disabled
action: boolWhether this item is actionable, enables hover and click reactivity.
url: Option<AttrValue>URL to direct to when the list item is clicked
onclick: Callback<MouseEvent>Event called when the list item is clicked
Trait Implementations§
Source§impl Clone for ListGroupItemProps
impl Clone for ListGroupItemProps
Source§fn clone(&self) -> ListGroupItemProps
fn clone(&self) -> ListGroupItemProps
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for ListGroupItemProps
impl PartialEq for ListGroupItemProps
Source§impl Properties for ListGroupItemProps
impl Properties for ListGroupItemProps
impl StructuralPartialEq for ListGroupItemProps
Auto Trait Implementations§
impl Freeze for ListGroupItemProps
impl !RefUnwindSafe for ListGroupItemProps
impl !Send for ListGroupItemProps
impl !Sync for ListGroupItemProps
impl Unpin for ListGroupItemProps
impl !UnwindSafe for ListGroupItemProps
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.