Appearance
RefreshActor ​
The RefreshActor triggers the update events for the targets and/or performs the update actions after the action is executed.
Properties ​
Parent:
Actor
Type:
RefreshActor
Parameter ​
Parameters in the Layout ​
| Name | Type | Description |
|---|---|---|
| refreshTargets | array of Actor | List of targets for which an update event is triggered or update actions are performed |
| refreshTriggers | array of RefreshActorTrigger | Parameters of the action in which the targets are updated |
| refreshActions | array of RefreshAction | Functions that must be executed after action execution |
| refreshType |
| The refreshType hard always refreshes the target actor, even if data will be lost.With type soft, e.g. the beanActor asks the user how to handle unsaved changes before refreshing to prevent unexpected data loss. |
RefreshActorTrigger ​
ts
type RefreshActorTrigger = {
action_name?: string,
module_name?: string,
method?: string,
}RefreshAction ​
ts
type RefreshAction = {
type: 'removeFromSelection',
parameter: {
selectionActor: SelectionActor,
},
}
