This commit is contained in:
Jonathan Kelley committed 2021-07-01 14:14:59 -04:00
1 parent c5f9cce63a
commit 952a91d540
18 files changed
+154 -48

No files matched your search

+2 -2
View File
@@ -67,7 +67,7 @@ pub mod on {
use crate::{
builder::ElementBuilder,
builder::NodeCtx,
builder::NodeFactory,
innerlude::{Attribute, Listener, RealDomNode, VNode},
};
use std::cell::Cell;
@@ -79,7 +79,7 @@ pub mod on {
$(
$(
pub fn $name<'a>(
c: &'_ NodeCtx<'a>,
c: &'_ NodeFactory<'a>,
callback: impl Fn(Rc<dyn $eventdata>) + 'a,
) -> Listener<'a> {
let bump = &c.bump();