react_gleam/event

Values

pub fn dispatch(action: action) -> fn(fn(action) -> Nil) -> Nil
pub fn on(
  name: String,
  handler: fn(dynamic.Dynamic, fn(action) -> Nil) -> Nil,
) -> attribute.Attribute(g, action)
pub fn on_blur(
  handler: fn(fn(action) -> Nil) -> Nil,
) -> attribute.Attribute(g, action)
pub fn on_check(
  handler: fn(Bool, fn(action) -> Nil) -> Nil,
) -> attribute.Attribute(g, action)
pub fn on_click(
  handler: fn(fn(action) -> Nil) -> Nil,
) -> attribute.Attribute(g, action)
pub fn on_focus(
  handler: fn(fn(action) -> Nil) -> Nil,
) -> attribute.Attribute(g, action)
pub fn on_input(
  handler: fn(String, fn(action) -> Nil) -> Nil,
) -> attribute.Attribute(g, action)
pub fn on_keydown(
  handler: fn(String, fn(action) -> Nil) -> Nil,
) -> attribute.Attribute(g, action)
pub fn on_keypress(
  handler: fn(String, fn(action) -> Nil) -> Nil,
) -> attribute.Attribute(g, action)
pub fn on_keyup(
  handler: fn(String, fn(action) -> Nil) -> Nil,
) -> attribute.Attribute(g, action)
pub fn on_mouse_down(
  handler: fn(fn(action) -> Nil) -> Nil,
) -> attribute.Attribute(g, action)
pub fn on_mouse_enter(
  handler: fn(fn(action) -> Nil) -> Nil,
) -> attribute.Attribute(g, action)
pub fn on_mouse_leave(
  handler: fn(fn(action) -> Nil) -> Nil,
) -> attribute.Attribute(g, action)
pub fn on_mouse_out(
  handler: fn(fn(action) -> Nil) -> Nil,
) -> attribute.Attribute(g, action)
pub fn on_mouse_over(
  handler: fn(fn(action) -> Nil) -> Nil,
) -> attribute.Attribute(g, action)
pub fn on_mouse_up(
  handler: fn(fn(action) -> Nil) -> Nil,
) -> attribute.Attribute(g, action)
pub fn on_submit(
  handler: fn(fn(action) -> Nil) -> Nil,
) -> attribute.Attribute(g, action)
Search Document