Function freya::prelude::dioxus_elements::onkeyup
pub fn onkeyup<E, T>(
_f: impl FnMut(Event<KeyboardData>) -> E + 'static
) -> Attributewhere
E: EventReturn<T>,
Expand description
The keyup
event fires when the user releases any key being pressed.
Event Data: KeyboardData
Example
fn app() -> Element {
rsx!(
rect {
onkeyup: |e| println!("Event: {e:?}")
}
)
}