macro_rules! button {
({ $($methods:tt)* }) => { ... };
}Expand description
This macro is generated by the futures-signals-component-macros crate.
For more information, see the ButtonProps.
All generated methods:
ⓘ
button! ({
.content(<Option < Dom >>)
.content_signal(<futures_signals :: signal :: Signal < Item = Option < Dom > >>)
.on_click(<dyn Fn(events :: Click) -> () + 'static>)
.disabled(<bool>)
.disabled_signal(<futures_signals :: signal :: Signal < Item = bool >>)
.button_type(<ButtonType>)
.button_type_signal(<futures_signals :: signal :: Signal < Item = ButtonType >>)
.apply(<dyn FnOnce(dominator :: DomBuilder < web_sys :: HtmlElement >) -> dominator ::
DomBuilder < web_sys :: HtmlElement > + 'static>)
});