Skip to main content

Interface: ChangeDecimalToValueOptions

Defined in: animation/numbers/index.ts:109

Options for ChangeDecimalToValue animation

Extends

Properties

duration?

optional duration: number

Defined in: animation/Animation.ts:14

Duration of the animation in seconds (default: 1)

Inherited from

AnimationOptions.duration


rateFunc?

optional rateFunc: RateFunction

Defined in: animation/Animation.ts:16

Rate function controlling the animation's pacing (default: smooth)

Inherited from

AnimationOptions.rateFunc


shift?

optional shift: [number, number, number]

Defined in: animation/Animation.ts:18

Shift direction for fade animations

Inherited from

AnimationOptions.shift


suspendMobjectUpdating?

optional suspendMobjectUpdating: boolean

Defined in: animation/numbers/index.ts:113

Whether to suspend updating the DecimalNumber display during animation (default: false)


targetValue

targetValue: number

Defined in: animation/numbers/index.ts:111

Target value to animate to (required)