Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Event

Type

Description

Parameters

Default Listener

modelChanged

default

This event is fired any time the model for the component has changed, that is, any time the value of the text associated with the component has changed.

model, oldModel, source

none

onBeginEdit

"preventable"

This event fires just before the component switches from 'view' mode into 'edit' mode. Because the event is preventable, listeners may prevent the component from actually entering edit mode.

none 

none

afterBeginEdit

default

This event fires just after the component has finished entering 'edit' mode.

none 

none

onFinishEdit

"preventable"

This event fires just before the component switches out of 'edit' mode, i.e. before the newly edited value is stored in the model. Because the event is preventable, listeners may prevent the new value from being stored in the model, i.e. they may cancel the edit.

newValue, oldValue, editNode, viewNode

none

afterFinishEdit

default

This event fires just after the newly edited value is stored in the model. Note that it only fires if the onFInishEdit event did not prevent the new value from being stored in the model.

newValue, oldValue, editNode, viewNode

none

...