Skip to content

setBoundVariableForLayoutGrid ​

将一个变量绑定到 LayoutGrid。如果提供的变量为 null,则给定的字段将解除与任何变量的绑定。

签名 ​

typescript
setBoundVariableForLayoutGrid(layoutGrid: LayoutGrid, field: VariableBindableLayoutGridField, variable: Variable | null): LayoutGrid