pub struct PrimaryButtonProps { /* private fields */ }
Implementations§
Source§impl PrimaryButtonProps
impl PrimaryButtonProps
Sourcepub fn builder() -> PrimaryButtonPropsBuilder<((), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), ())>
pub fn builder() -> PrimaryButtonPropsBuilder<((), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), ())>
Create a builder for building PrimaryButtonProps
.
On the builder, call .children(...)
, .size(...)
(optional), .tag(...)
(optional), .href(...)
(optional), .id(...)
(optional), .class(...)
(optional), .onclick(...)
(optional), .role(...)
(optional), .aria_orientation(...)
(optional), .aria_labelledby(...)
(optional), .tabindex(...)
(optional), .name(...)
(optional), .autocomplete(...)
(optional), .value(...)
(optional), .placeholder(...)
(optional), .hx_boost(...)
(optional), .hx_get(...)
(optional), .hx_post(...)
(optional), .hx_on(...)
(optional), .hx_push_url(...)
(optional), .hx_select(...)
(optional), .hx_select_oob(...)
(optional), .hx_swap(...)
(optional), .hx_swap_oob(...)
(optional), .hx_target(...)
(optional), .hx_trigger(...)
(optional), .hx_vals(...)
(optional), .hx_confirm(...)
(optional), .hx_delete(...)
(optional), .hx_disable(...)
(optional), .hx_disabled_elt(...)
(optional), .hx_disinherit(...)
(optional), .hx_encoding(...)
(optional), .hx_ext(...)
(optional), .hx_headers(...)
(optional), .hx_history(...)
(optional), .hx_history_elt(...)
(optional), .hx_include(...)
(optional), .hx_indicator(...)
(optional), .hx_params(...)
(optional), .hx_patch(...)
(optional), .hx_preserve(...)
(optional), .hx_prompt(...)
(optional), .hx_put(...)
(optional), .hx_replace_url(...)
(optional), .hx_request(...)
(optional), .hx_sse(...)
(optional), .hx_sync(...)
(optional), .hx_validate(...)
(optional), .hx_vars(...)
(optional), .hx_ws(...)
(optional), .attrs(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of PrimaryButtonProps
.
Trait Implementations§
Source§impl Clone for PrimaryButtonProps
impl Clone for PrimaryButtonProps
Source§fn clone(&self) -> PrimaryButtonProps
fn clone(&self) -> PrimaryButtonProps
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more