Class: AnimationTextCondition
Defined in: animations/types/AnimationCondition.ts:42
Class for text-based animation conditions.
Implements
Constructors
Constructor
new AnimationTextCondition(
name,text,comparator):AnimationTextCondition
Defined in: animations/types/AnimationCondition.ts:53
Constructor for AnimationTextCondition.
Parameters
name
string
The name of the condition.
text
string
The text value to compare against.
comparator
AnimationConditionTextComparator
The comparator type to use for the condition.
Returns
AnimationTextCondition
Properties
name
name:
string
Defined in: animations/types/AnimationCondition.ts:43
Implementation of
text
text:
string
Defined in: animations/types/AnimationCondition.ts:44
Methods
satisfies()
satisfies(
inputs):boolean
Defined in: animations/types/AnimationCondition.ts:68
Method to check the condition based on the input value.
Parameters
inputs
the value of the input to validate the condition against
Returns
boolean
Whether the condition is met based on the input value.