[][src]Module sauron::html::events

https://developer.mozilla.org/en-US/docs/Web/Events

Modules

mapper

Structs

Buttons
Callback

A generic sized representation of a function that can be attached to a Node. The callback will essentially be owned by the element

Coordinate
InputEvent
KeyEvent
Modifier
MouseEvent

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

Functions

on

Creates a callback object from the function closure This will then be attached to the browser and emitted when that event is triggered.

on_with_extractor

Create an callback event which has a function to map web_sys::Event to user event

onauxclick
onblur
onbroadcast
onchange
onclick
oncontextmenu
ondblclick
ondoubleclick
onfocus
onhashchange
oninput
onkeydown
onkeypress
onkeyup
onmousedown
onmouseenter
onmouseleave
onmousemove
onmouseout
onmouseover
onmouseup
onpointerlockchange
onpointerlockerror
onreadystatechange
onreset
onresize
onscroll
onselect
onsubmit
onwheel