From 2ef8032110916d0f534406c2ff3b90ec2cf0d9d4 Mon Sep 17 00:00:00 2001 From: Greg Johnston Date: Sun, 4 Dec 2022 23:03:54 -0500 Subject: [PATCH] =?UTF-8?q?The=20event=20names=20shouldn't=20actually=20st?= =?UTF-8?q?art=20with=20"on"=20=E2=80=94=20that's=20the=20HTML=20attribute?= =?UTF-8?q?=20form?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- leptos_dom/src/events/typed.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leptos_dom/src/events/typed.rs b/leptos_dom/src/events/typed.rs index e152a2a1e..2b920ecbe 100644 --- a/leptos_dom/src/events/typed.rs +++ b/leptos_dom/src/events/typed.rs @@ -79,7 +79,7 @@ macro_rules! generate_event_types { type EventType = web_sys::$web_sys_event; fn name(&self) -> Cow<'static, str> { - concat!("on", stringify!([<$event:lower>])).into() + stringify!([<$event:lower>]).into() } } )*