boundVariables
The variables bound to a particular field on this node. Please see the Working with Variables guide for how to get and set variable bindings.
Supported on:
- BooleanOperationNode
- CodeBlockNode
- ComponentNode
- ComponentSetNode
- ConnectorNode
- EllipseNode
- EmbedNode
- FrameNode
- GroupNode
- HighlightNode
- InstanceNode
- InteractiveSlideElementNode
- LineNode
- LinkUnfurlNode
- MediaNode
- PolygonNode
- RectangleNode
- SectionNode
- ShapeWithTextNode
- SliceNode
- SlideGridNode
- SlideNode
- SlideRowNode
- SlotNode
- StampNode
- StarNode
- StickyNode
- TableNode
- TextNode
- TextPathNode
- TransformGroupNode
- VectorNode
- WashiTapeNode
- WidgetNode
Signature
boundVariables?: { readonly [field in VariableBindableNodeField]?: VariableAlias} & { readonly [field in VariableBindableTextField]?: VariableAlias[]} & { fills?: VariableAlias[]; strokes?: VariableAlias[]; effects?: VariableAlias[]; layoutGrids?: VariableAlias[]; componentProperties?: { [propertyName: string]: VariableAlias }; textRangeFills?: VariableAlias[] } [readonly]
Remarks
On nodes with independent corner radii (e.g. rectangles, frames), a cornerRadius binding sets all four corners and appears in boundVariables as topLeftRadius/topRightRadius/bottomLeftRadius/bottomRightRadius rather than cornerRadius; elsewhere it appears as cornerRadius.