Custom Content Field Object
The Field object is the representation of the content field that is returned by
getField()
and getFields()
methods. The object has
the following methods:
getName() | Gets the name of the field. |
getDefaultValue() | Gets the default value of the field. |
getDataType() | Gets the data type of the field. |
setValue(value) | Sets the value of the field. |
getValue() | Gets the value of the field. |
on(event, callback) | Attaches an event handler function to the field for the event. Currently
update is the only event supported.
|