The goog.editor.Field.EventType Enum

goog.editor.Field.EventType

Event types that can be stopped/started.

@enum
{string}

.BEFORECHANGE

Dispatched before the field contents are changed.

.BEFOREFOCUS

Dispatched before focus in moved into the field.

.BEFORETAB

Dispach before tab is handled by the field. This is a legacy way of controlling tab behavior. Use trog.plugins.AbstractTabHandler now.

.BLUR

Dispatched when the field is blurred.

.CHANGE

Dispatched when the field contents change, in FF only. Used for internal resizing, please do not use.

.COMMAND_VALUE_CHANGE

Dispatched when the command state of the selection may have changed. This event should be listened to for updating toolbar state.

.DELAYEDCHANGE

Dispatched on a slight delay after changes are made. Use for autosave, or other times your app needs to know that the field contents changed.

.FOCUS

Dispatched when focus is moved into the field.

.LOAD

Dispatched when the field is loaded and ready to use.

.SELECTIONCHANGE

Dispatched when the selection changes. Use handleSelectionChange from plugin API instead of listening directly to this event.

.UNLOAD

Dispatched when the field is fully unloaded and uneditable.