Function freya_elements::events::keyboard::onkeydown   
source · pub fn onkeydown<__Marker>(
    _f: impl SuperInto<EventHandler<Event<KeyboardData>>, __Marker>,
) -> AttributeExpand description
The keydown event fires when the user starts pressing any key in the currently focused element.
Event Data: KeyboardData
§Example
fn app() -> Element {
    rsx!(
        rect {
            onkeydown: |e| println!("Event: {e:?}")
        }
    )
}