The goog.ui.Component.EventType Enum

goog.ui.Component.EventType

Common events fired by components so that event propagation is useful. Not all components are expected to dispatch or listen for all event types. Events dispatched before a state transition should be cancelable to prevent the corresponding state change.

@enum
{string}

.ACTION

Dispatched after the user activates the component.

.ACTIVATE

Dispatched before the component becomes activated.

.BEFORE_SHOW

Dispatched before the component becomes visible.

.BLUR

Dispatched before a component becomes blurred.

.CHANGE

Dispatched after the external-facing state of a component is changed.

.CHECK

Dispatched before a component becomes checked.

.CLOSE

Dispatched before a component is closed (collapsed).

.DEACTIVATE

Dispatched before the component becomes deactivated.

.DISABLE

Dispatched before the component becomes disabled.

.ENABLE

Dispatched before the component becomes enabled.

.ENTER

Dispatched after a component is moused over.

.FOCUS

Dispatched before a component becomes focused.

.HIDE

Dispatched before the component becomes hidden.

.HIGHLIGHT

Dispatched before the component becomes highlighted.

.LEAVE

Dispatched after a component is moused out of.

.OPEN

Dispatched before a component is opened (expanded).

.SELECT

Dispatched before the component becomes selected.

.SHOW

Dispatched after the component becomes visible. NOTE(user): For goog.ui.Container, this actually fires before containers are shown. Use goog.ui.Container.EventType.AFTER_SHOW if you want an event that fires after a goog.ui.Container is shown.

.UNCHECK

Dispatched before a component becomes un-checked.

.UNHIGHLIGHT

Dispatched before the component becomes un-highlighted.

.UNSELECT

Dispatched before the component becomes un-selected.