pub fn onkeyup<'a>(
    _cx: &'a ScopeState,
    _f: impl FnMut(Event<KeyboardData>) + 'a
) -> Attribute<'a>
Expand description

The keyup event fires when the user releases any key being pressed.

Event Data: KeyboardData

Example

fn app(cx: Scope) -> Element {
    render!(
        rect {
            onkeyup: |e| println!("Event: {e:?}")
        }
    )
}