Module domafic::listener [] [src]

Types, traits, and functions for creating event handlers

Structs

Event

Description of a DOM event that caused a listener to be called.

FnListener

A listener that consists of an event type and a function from Event to message

Traits

Listener

Listeners listen to events and convert them into a message

Functions

on

Create an FnListener that handles to events of type event_type using function f