Function dioxus_web_component::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