[][src]Module sauron_vdom::event

provides struct and methods for constructing sauron event

Structs

Coordinate

The coordinate of the event

InputEvent

Input event is triggered by controls such as text_area and text_input

KeyEvent

Keypresses creates a key event

Modifier

Modifier contains the information of which modifier keys are pressed when the event is triggered

MouseEvent

A mouse event contains the (x,y) coordinates, buttons and modifier keys

Enums

Event

A container for generic event and the common values needed for the user.

MouseButton

Which mouse button is used