Function seed::dom_types::raw_ev

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

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