Struct yew_styles::navbar::navbar_item::Props [−][src]
pub struct Props { pub code_ref: NodeRef, pub key: String, pub class_name: String, pub id: String, pub interaction_effect: bool, pub active: bool, pub onclick_signal: Callback<MouseEvent>, pub children: Children, }
Fields
code_ref: NodeRef
General property to get the ref of the component
key: String
General property to add keys
class_name: String
General property to add custom class styles
id: String
General property to add custom id
interaction_effect: bool
Active nav item style. Default false
if hove, focus, active effects are enable. Default true
active: bool
onclick_signal: Callback<MouseEvent>
Click event for navbar item
children: Children
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Props
impl !UnwindSafe for Props
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an optional value of a Properties
struct.
Convert self
to a value of a Properties
struct.
Convert self
to a value of a Properties
struct.
pub fn vzip(self) -> V
impl<T> Any for T where
T: Any,