Expand description
This module contains code related to event handling; ie things that update the dom, related to
web_sys::Event
Functionsยง
- drag_ev
- See
keyboard_ev
- ev
- Create an event handler that accepts a closure, and passes a
web_sys::Event
, allowing full control of event-handling. - input_
ev - Create an event that passes a String of field text, for fast input handling.
- keyboard_
ev - Create an event that passes a
web_sys::KeyboardEvent
, allowing easy access to items likekey_code
() and key(). - mouse_
ev - See
keyboard_ev
- pointer_
ev - See
keyboard_ev
- raw_ev
Deprecated - Create an event that accepts a closure, and passes a
web_sys::Event
, allowing full control of event-handling. - simple_
ev Deprecated - Create an event that passes no data, other than it occurred. Foregoes using a closure, in favor of pointing to a message directly.
- touch_
ev - See
keyboard_ev
- wheel_
ev - See
keyboard_ev