An object that has the following properties:
The type of watch event that has been fired. It will be one of the following values: 'show/hide', 'show/hideTabPane', 'enable', 'enableTabPane', or 'readonly'.
The name of the control that the watch event applies to.
The result of the expression evaluated by the watch event. Can be true or false.
Fires when a client-side watch event in the UX Component is executed.
The onWatchEvent fires when any of the client-side watch events (show/hide, enable, readOnly) fires. For example, when a client-side show/hide expression on a control is executed the event is fired. The type of event, the name of the control on which the expression is being evaluated and the result of the expression are passed into the event handler.
Possible values for the type parameter passed to the event handler are: