Function freya_elements::onkeyup
source · pub fn onkeyup<__Marker>(
_f: impl SuperInto<EventHandler<Event<KeyboardData>>, __Marker>
) -> Attribute
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:?}")
}
)
}