canvasAttrInfo

Returns the declared type and animatability of an attribute on an environment node, a vocabulary child or a control, or null.

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

null when the node is not registered or does not declare the attribute. The universal continue: is included, with its targets resolved against the registry. The refiners and the animation runtime both read it.

#Signature

(nodeIdentifier: string, attrIdentifier: string): CanvasAttrInfo | null

#Parameters

nodeIdentifier
The node's identifier, such as graph or point.
attrIdentifier
The attribute's canonical name.

Declared in packages/canvas-sdk/src/environment/registry.ts:528.

Last updated