blockly > FieldVariableFromJsonConfig
FieldVariableFromJsonConfig interface
fromJson config options for the variable field.
Signature:
export interface FieldVariableFromJsonConfig extends FieldVariableConfig
Extends: FieldVariableConfig
Properties
Property |
Modifiers |
Type |
Description |
variable? |
|
string |
(Optional) |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["The `FieldVariableFromJsonConfig` interface defines configuration options for creating variable fields from JSON."],["It extends the `FieldVariableConfig` interface and adds an optional `variable` property of type string."],["The `variable` property can be used to specify the initial value of the variable field."]]],["The `FieldVariableFromJsonConfig` interface provides configuration options for a variable field, extending the `FieldVariableConfig` interface. It includes an optional `variable` property of type string. This property likely represents the name or identifier of the variable associated with the field, allowing for customization during JSON configuration. In essence, it permits specifying a variable when defining the field from a JSON structure.\n"]]