custom_event_handler

Function custom_event_handler 

Source
pub fn custom_event_handler<T>(
    target: impl AsRef<EventTarget> + 'static,
    event_type: &'static str,
    options: CustomEventOptions,
) -> EventHandler<T>
where T: Into<JsValue> + 'static,
Expand description

Create a Dioxus event handler that send an HTML custom event