This commit is contained in:
luoxiao 2024-06-12 17:36:34 +08:00 committed by luoxiaozero
parent f152a19322
commit 51c2d24242

View file

@ -1,5 +1,9 @@
use ::wasm_bindgen::{prelude::Closure, JsCast};
use leptos::{ev, tachys::renderer::DomRenderer};
use leptos::{
ev,
tachys::{renderer::DomRenderer, view::any_view::AnyView},
};
use std::ops::Deref;
use web_sys::EventTarget;
pub fn add_event_listener<E>(