feat: eanble bubbling

This commit is contained in:
Jonathan Kelley committed 2022-01-03 02:11:26 -05:00
1 parent d84fc05386
commit 06276edd0d
3 files changed
+5 -5

No files matched your search

+3 -3
View File
@@ -17,11 +17,11 @@ pub mod on {
$(
$(
$(#[$method_attr])*
pub fn $name<'a, F>(
pub fn $name<'a>(
factory: NodeFactory<'a>,
mut callback: F,
mut callback: impl FnMut($wrapper) + 'a,
// mut callback: impl FnMut(UiEvent<$data>) + 'a,
) -> Listener<'a>
where F: FnMut($wrapper) + 'a
{
let bump = &factory.bump();