Skip to main content

Class: AnimationTriggerCondition

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

Class for trigger (boolean)-based animation conditions.

Implements

Constructors

Constructor

new AnimationTriggerCondition(name): AnimationTriggerCondition

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

Parameters

name

string

Returns

AnimationTriggerCondition

Properties

name

name: string

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

Implementation of

AnimationCondition.name

Methods

satisfies()

satisfies(inputs): boolean

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

Method to check the condition based on the input value.

Parameters

inputs

AnimationInputs

Returns

boolean

Whether the condition is met based on the input value.

Implementation of

AnimationCondition.satisfies