Module stdweb::web::event [] [src]

A module containing JavaScript DOM events.

Structs

AbortEvent

The AbortEvent is fired when the loading of a resource has been aborted.

BlurEvent

The BlurEvent is fired when an element has lost focus. The main difference between this event and focusout is that only the latter bubbles.

ChangeEvent

The ChangeEvent is fired for input, select, and textarea elements when a change to the element's value is committed by the user. Unlike the input event, the change event is not necessarily fired for each change to an element's value.

ClickEvent

The ClickEvent is fired when a pointing device button (usually a mouse's primary button) is pressed and released on a single element.

DoubleClickEvent

The DoubleClickEvent is fired when a pointing device button (usually a mouse's primary button) is clicked twice on a single element.

ErrorEvent

The ErrorEvent is fired when an error occurred; the exact circumstances vary, since this event is used from a variety of APIs.

FocusEvent

The FocusEvent is fired when an element has received focus. The main difference between this event and focusin is that only the latter bubbles.

HashChangeEvent

The HashChangeEvent is fired when the fragment identifier of the URL has changed (the part of the URL that follows the # symbol, including the # symbol).

KeypressEvent

The KeypressEvent is fired when a key is pressed down, and that key normally produces a character value.

LoadEndEvent

The LoadEndEvent is fired when progress has stopped on the loading of a resource, e.g. after ErrorEvent, AbortEvent or LoadEvent have been dispatched.

LoadEvent

The LoadEvent is fired when a resource and its dependent resources have finished loading.

LoadStartEvent

The LoadStartEvent is fired when progress has begun on the loading of a resource.

ProgressEvent

The ProgressEvent is fired to indicate that an operation is in progress.

Enums

EventPhase

Indicates the phase of event flow during event proessing.

KeyboardLocation

The location on the keyboard of a key.

ModifierKey

A modifier key on the keyboard.

MouseButton

Represents buttons on a mouse during mouse events.

Traits

ConcreteEvent

A trait representing a concrete event type.

IEvent

The IEvent interface represents any event which takes place in the DOM; some are user-generated (such as mouse or keyboard events), while others are generated by APIs (such as events that indicate an animation has finished running, a video has been paused, and so forth). There are many types of event, some of which use other interfaces based on the main IEvent interface. IEvent itself contains the properties and methods which are common to all events.

IFocusEvent

The IFocusEvent interface represents focus-related events.

IKeyboardEvent

IKeyboardEvent objects describe a user interaction with the keyboard. Each event describes a key; the event type identifies what kind of activity was performed.

IMouseEvent

The IMouseEvent interface represents events that occur due to the user interacting with a pointing device (such as a mouse).

IProgressEvent

The IProgressEvent interface represents progress-related events.

IUiEvent

The IUiEvent interface represents simple user interface events.