Function seed::dom_types::raw_ev

source ·
pub fn raw_ev<Ms: Clone + 'static>(
    trigger: &str,
    handler: impl FnMut(Event) -> Ms + 'static
) -> Listener<Ms>
Expand description

Create an event that passes a web_sys::Event, allowing full control of event-handling