Trait hobo::dom_events::Focus [−][src]
pub trait Focus: Element {
fn add_on_focus(&self, f: impl FnMut(FocusEvent) + 'static) { ... }
fn on_focus(self, f: impl FnMut(FocusEvent) + 'static) -> Self { ... }
}
pub trait Focus: Element {
fn add_on_focus(&self, f: impl FnMut(FocusEvent) + 'static) { ... }
fn on_focus(self, f: impl FnMut(FocusEvent) + 'static) -> Self { ... }
}