Expand description

This module contains code related to event handling; ie things that update the dom, related to web_sys::Event

Functions

See keyboard_ev

Create an event handler that accepts a closure, and passes a web_sys::Event, allowing full control of event-handling.

Create an event that passes a String of field text, for fast input handling.

Create an event that passes a web_sys::KeyboardEvent, allowing easy access to items like key_code() and key().

See keyboard_ev

See keyboard_ev

raw_evDeprecated

Create an event that accepts a closure, and passes a web_sys::Event, allowing full control of event-handling.

simple_evDeprecated

Create an event that passes no data, other than it occurred. Foregoes using a closure, in favor of pointing to a message directly.

See keyboard_ev

See keyboard_ev