search

goog.editor.Field

Provided By
Extends
All Implemented Interfaces
All Known Direct Subclasses

This class encapsulates an editable field.

event: load Fires when the field is loaded event: unload Fires when the field is unloaded (made not editable)

event: beforechange Fires before the content of the field might change

event: delayedchange Fires a short time after field has changed. If multiple change events happen really close to each other only the last one will trigger the delayedchange event.

event: beforefocus Fires before the field becomes active event: focus Fires when the field becomes active. Fires after the blur event event: blur Fires when the field becomes inactive

TODO: figure out if blur or beforefocus fires first in IE and make FF match

new Field( id, opt_doc )

Parameters
idstring

An identifer for the field. This is used to find the field and the element associated with this field.

opt_doc(Document|null)=

The document that the element with the given id can be found in. If not provided, the default document is used.

Instance Methods

Instance Properties

Static Functions

Static Properties

Enumerations