Skip to main content

Class: AnimationNumberCondition

Defined in: animations/types/AnimationCondition.ts:90

Class for number-based animation conditions.

Implements

Constructors

Constructor

new AnimationNumberCondition(name, number, comparator): AnimationNumberCondition

Defined in: animations/types/AnimationCondition.ts:95

Parameters

name

string

number

number

comparator

AnimationConditionNumberComparator

Returns

AnimationNumberCondition

Properties

name

name: string

Defined in: animations/types/AnimationCondition.ts:91

Implementation of

AnimationCondition.name


number

number: number

Defined in: animations/types/AnimationCondition.ts:92

Methods

satisfies()

satisfies(inputs): boolean

Defined in: animations/types/AnimationCondition.ts:110

Method to check the condition based on the input value.

Parameters

inputs

AnimationInputs

the value of the input to validate the condition against

Returns

boolean

Whether the condition is met based on the input value.

Implementation of

AnimationCondition.satisfies