API

Class ValueCondition

Defines specific conditional operators as extensions of Condition

Hierarchy (View Summary)

Index
  • Creates a new ValueCondition

    Parameters

    • actionManager: ActionManager

      manager for the action the condition applies to

    • target: any

      for the action

    • propertyPath: string

      path to specify the property of the target the conditional operator uses

    • value: any

      the value compared by the conditional operator against the current value of the property

    • operator: number = ValueCondition.IsEqual

      the conditional operator, default ValueCondition.IsEqual

    Returns ValueCondition

operator: number = ValueCondition.IsEqual

[number] the conditional operator, default ValueCondition.IsEqual

propertyPath: string

path to specify the property of the target the conditional operator uses

value: any

the value compared by the conditional operator against the current value of the property