Skip to content

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 ​

NameTypeDescription
refreshTargetsarray of ActorList of targets for which an update event is triggered or update actions are performed
refreshTriggersarray of RefreshActorTriggerParameters of the action in which the targets are updated
refreshActionsarray of RefreshActionFunctions that must be executed after action execution
refreshType
  • hard (default)
  • soft
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,
    },
}
Request missing documentation