referenceValue

Refines a #id or #id.member reference written as text, such as #gdp.value inside a keyframe chain, into the binding object the renderer resolves.

@internote/canvas-sdkFunction
On this page
import { referenceValue } from '@internote/canvas-sdk';

The compiler parses reference attributes natively, but an animatable attribute reaches it as a plain string, so each keyframe's value arrives here as text and has to be rebuilt into the binding object the renderer resolves against. The semantic pass then checks the dataset and column exist, since the compiler no longer does for this attribute.

#Signature

(input: string): RefineResult

#Parameters

input
The value as written.

Declared in packages/canvas-sdk/src/refine/value-refiners.ts:436.

Last updated