Struct yew_styles::forms::form_submit::Props [−][src]
pub struct Props { pub value: String, pub submit_palette: Palette, pub submit_style: Style, pub size: Size, pub disabled: bool, pub code_ref: NodeRef, pub key: String, pub class_name: String, pub id: String, }
Fields
value: String
Text of submit. Required
submit_palette: Palette
Type submit style. Default Palette::Standard
submit_style: Style
the submit style according with the purpose. Default Style::Regular
size: Size
the size of the submit. Default Size::Medium
disabled: bool
Whether the form control is disabled. Default false
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
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.