mirror of
https://github.com/leptos-rs/leptos
synced 2024-09-20 14:32:00 +00:00
The event names shouldn't actually start with "on" — that's the HTML attribute form
This commit is contained in:
parent
3992febbfc
commit
2ef8032110
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
}
|
||||
}
|
||||
)*
|
||||
|
|
Loading…
Reference in a new issue