Implementation of uiChange
event. The uiChange
event is triggered on a field whenever a user interaction leads to a change in its value.
This event is specifically designed to differentiate changes initiated by user interactions from those made programmatically.
param
event payload containing details of the changes.
param
whether the event should be propagated to all fields in a depth-first search (DFS) order starting from the top-level form element. Defaults to false, indicating no propagation.
ActionImpl
↳ UIChange
• new UIChange(payload
, dispatch?
)
Name | Type | Default value |
---|---|---|
payload |
UIChangePayload |
undefined |
dispatch |
boolean |
false |
ActionImpl.constructor
• get
currentTarget(): FormModel
| FieldModel
| FieldsetModel
FormModel
| FieldModel
| FieldsetModel
ActionImpl.currentTarget
• get
isCustomEvent(): boolean
boolean
ActionImpl.isCustomEvent
• get
metadata(): any
any
ActionImpl.metadata
• get
payload(): any
any
ActionImpl.payload
• get
target(): FormModel
| FieldModel
| FieldsetModel
FormModel
| FieldModel
| FieldsetModel
ActionImpl.target
• get
type(): string
string
ActionImpl.type
▸ toJson(): Object
Object
Name | Type |
---|---|
isCustomEvent |
boolean |
payload |
any |
type |
string |
ActionImpl.toJson
▸ toString(): string
string
ActionImpl.toString