Make EventHandler copy (#2112)
* implement Copy for EventHandler * implement from closure for event handler and remove special on prefix * fix props implementation of EventHandler
This commit is contained in:
1 parent
4bb807a3ce
commit
58f7efafea
19 files changed
+755
-364
No files matched your search
@@ -1,6 +1,6 @@
|
||||
use std::{ops::Deref, rc::Rc};
|
||||
|
||||
use crate::{read::Readable, ReadableRef};
|
||||
use crate::{read::Readable, read_impls, ReadableRef};
|
||||
use dioxus_core::prelude::*;
|
||||
use generational_box::{AnyStorage, UnsyncStorage};
|
||||
|
||||
@@ -88,3 +88,5 @@ where
|
||||
Readable::deref_impl(self)
|
||||
}
|
||||
}
|
||||
|
||||
read_impls!(MappedSignal<T, S: AnyStorage>);
|
||||
Reference in new issue
Block a user