Function dioxus_html::events::ontoggle
source · pub fn ontoggle<'a, E: EventReturn<T>, T>(
_cx: &'a ScopeState,
_f: impl FnMut(Event<ToggleData>) -> E + 'a
) -> Attribute<'a>
Expand description
ontoggle
pub fn ontoggle<'a, E: EventReturn<T>, T>(
_cx: &'a ScopeState,
_f: impl FnMut(Event<ToggleData>) -> E + 'a
) -> Attribute<'a>
ontoggle