MotionScript

@motion-script/core


@motion-script/core / textProperty

Variable: textProperty

const textProperty: (opts?) => (target, propertyKey) => void

Defined in: attributes/properties/typed.ts:223

A text property tweened with the same character-level interpolation as Text.text, so to({ label }) types/untypes rather than snapping.

Parameters

opts?

AttributePropOptions<string, string>

Returns

(target, propertyKey) => void