gbr/js/jsevent

Types

pub type JsEvent(sub)
pub type KeyboardEvent
pub type UIEvent(sub)

Values

pub fn alt_key(event: JsEvent(UIEvent(KeyboardEvent))) -> Bool
pub fn code(event: JsEvent(UIEvent(KeyboardEvent))) -> String
pub fn ctrl_key(event: JsEvent(UIEvent(KeyboardEvent))) -> Bool
pub fn current_target(event: JsEvent(t)) -> dynamic.Dynamic
pub fn is_composing(
  event: JsEvent(UIEvent(KeyboardEvent)),
) -> Bool
pub fn key(event: JsEvent(UIEvent(KeyboardEvent))) -> String
pub fn meta_key(event: JsEvent(UIEvent(KeyboardEvent))) -> Bool
pub fn prevent_default(event: JsEvent(t)) -> Nil
pub fn shift_key(event: JsEvent(UIEvent(KeyboardEvent))) -> Bool
pub fn stop_propagation(event: JsEvent(t)) -> Nil
pub fn target(event: JsEvent(t)) -> dynamic.Dynamic
Search Document