Struct yew_styles::layouts::item::Props [−][src]
pub struct Props { pub layouts: Vec<ItemLayout>, pub align_self: AlignSelf, pub code_ref: NodeRef, pub key: String, pub class_name: String, pub id: String, pub onclick_signal: Callback<MouseEvent>, pub children: Children, }
Fields
layouts: Vec<ItemLayout>
Percent of the layout that will take the item. Required
align_self: AlignSelf
Align the item itself. Default AlignSelf::Auto
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
onclick_signal: Callback<MouseEvent>
Click event for the 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.