plinth/browser/event

Types

pub type Event(sub)
pub type KeyboardEvent
pub type UIEvent(sub)

Values

pub fn alt_key(event: Event(UIEvent(KeyboardEvent))) -> Bool
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
Search Document