plinth/browser/event
Types
pub type KeyboardEvent
Values
pub fn alt_key(event: Event(UIEvent(KeyboardEvent))) -> Bool
pub fn cast_event(
raw: dynamic.Dynamic,
) -> Result(Event(dynamic.Dynamic), decode.DecodeError)
pub fn cast_keyboard_event(
raw: dynamic.Dynamic,
) -> Result(Event(UIEvent(KeyboardEvent)), decode.DecodeError)
pub fn code(event: Event(UIEvent(KeyboardEvent))) -> String
pub fn ctrl_key(event: Event(UIEvent(KeyboardEvent))) -> Bool
pub fn is_composing(event: Event(UIEvent(KeyboardEvent))) -> Bool
pub fn key(event: Event(UIEvent(KeyboardEvent))) -> String
pub fn meta_key(event: Event(UIEvent(KeyboardEvent))) -> Bool
pub fn prevent_default(event: Event(t)) -> Nil
pub fn shift_key(event: Event(UIEvent(KeyboardEvent))) -> Bool
pub fn stop_propagation(event: Event(t)) -> Nil
pub fn target(event: Event(t)) -> dynamic.Dynamic