[−][src]Function sauron::events::on_enter
pub fn on_enter<F, MSG>(
f: F
) -> Attribute<&'static str, &'static str, AttributeValue, Event, MSG> where
F: Fn(KeyboardEvent) -> MSG + 'static,
custom on_enter event, which is triggered from key_press when the Enter key is pressed