mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 14:54:16 +00:00
made ev::undelegated
lowercase to match the rest of the event names
This commit is contained in:
parent
e8424138ce
commit
28bb3f81aa
1 changed files with 2 additions and 1 deletions
|
@ -24,7 +24,8 @@ pub trait EventDescriptor: Clone {
|
||||||
/// Overrides the [`EventDescriptor::bubbles`] method to always return
|
/// Overrides the [`EventDescriptor::bubbles`] method to always return
|
||||||
/// `false`, which forces the event to not be globally delegated.
|
/// `false`, which forces the event to not be globally delegated.
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
pub struct Undelegated<Ev: EventDescriptor>(pub Ev);
|
#[allow(non_camel_case_types)]
|
||||||
|
pub struct undelegated<Ev: EventDescriptor>(pub Ev);
|
||||||
|
|
||||||
impl<Ev: EventDescriptor> EventDescriptor for Undelegated<Ev> {
|
impl<Ev: EventDescriptor> EventDescriptor for Undelegated<Ev> {
|
||||||
type EventType = Ev::EventType;
|
type EventType = Ev::EventType;
|
||||||
|
|
Loading…
Reference in a new issue