MotionScript

@motion-script/core


@motion-script/core / prepareNumericTween

Function: prepareNumericTween()

prepareNumericTween<T>(target, to): (t) => void

Defined in: tween/prepare.ts:18

Internal

Type Parameters

T

T extends object

Parameters

target

T

to

Partial<Record<keyof T, number>>

Returns

(t) => void