Trait hobo::dom_events::Click [−][src]
pub trait Click: Element {
fn add_on_click(&self, f: impl FnMut(MouseEvent) + 'static) { ... }
fn on_click(self, f: impl FnMut(MouseEvent) + 'static) -> Self { ... }
}
pub trait Click: Element {
fn add_on_click(&self, f: impl FnMut(MouseEvent) + 'static) { ... }
fn on_click(self, f: impl FnMut(MouseEvent) + 'static) -> Self { ... }
}