freya::components

Function use_form

Source
pub fn use_form<Id>(
    onsubmit: impl Fn(&HashMap<Id, String>) + 'static,
) -> UseForm<Id>
where Id: Hash + Eq + Clone,
Expand description

Create a Form controller with a submit callback.