Skip to main content

Interface: ChangeDecimalToValueOptions

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

Options for ChangeDecimalToValue animation

Extends​

Properties​

duration?​

optional duration: number

Defined in: src/animation/Animation.ts:16

Duration of the animation in seconds (default: 1)

Inherited from​

AnimationOptions.duration


rateFunc?​

optional rateFunc: RateFunction

Defined in: src/animation/Animation.ts:18

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

Inherited from​

AnimationOptions.rateFunc


shift?​

optional shift: [number, number, number]

Defined in: src/animation/Animation.ts:20

Shift direction for fade animations

Inherited from​

AnimationOptions.shift


suspendMobjectUpdating?​

optional suspendMobjectUpdating: boolean

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

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


targetValue​

targetValue: number

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

Target value to animate to (required)