API

Class SetValueAction

This defines an action responsible to set a property of the target to a desired value once triggered.

Hierarchy (View Summary)

Index
  • Instantiate the action

    Parameters

    • triggerOptions: any

      defines the trigger options

    • target: any

      defines the object containing the property

    • propertyPath: string

      defines the path of the property to set in the target

    • value: any

      defines the value to set in the property

    • Optionalcondition: Condition

      defines the trigger related conditions

    Returns SetValueAction

onBeforeExecuteObservable: Observable<Action> = ...

An event triggered prior to action being executed.

propertyPath: string

The path of the property to set in the target.

trigger: number

Trigger for the action

triggerOptions: any

the trigger, with or without parameters, for the action

value: any

The value to set in the property