macro_rules! switch {
    ($($methods:tt)*) => { ... };
}
Expand description

This macro is generated by the dominator-component-macros crate. For more information, see the SwitchProps. All generated methods:

switch! ({
    .state(<bool>)
    .state_signal(<TstateSignal : futures_signals :: signal :: Signal < Item = bool >>)
    .disabled(<bool>)
    .disabled_signal(<TdisabledSignal : futures_signals :: signal :: Signal < Item = bool >>)
    .click_handler(<TClickHandler>)
    .apply(<TApplyFn>)
});