研究调查问卷:请告诉我们您使用 Blockly 的体验
开始调查问卷
blockly >FieldVariableConfig
FieldVariableConfig 接口
变量字段的配置选项。
Signature:
export interface FieldVariableConfig extends FieldConfig
扩展:FieldConfig
属性
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-09-12。
[null,null,["最后更新时间 (UTC):2024-09-12。"],[[["The `FieldVariableConfig` interface defines configuration options for Blockly's variable field, extending the base `FieldConfig` interface."],["It includes optional properties like `defaultType` to set a default variable type and `variableTypes` to specify allowed variable types for the field."]]],["The `FieldVariableConfig` interface extends `FieldConfig` and defines configuration options for a variable field. It includes two optional properties: `defaultType`, a string specifying the default variable type, and `variableTypes`, an array of strings listing allowed variable types. These properties allow customization of the variable field's behavior and the types of variables it can handle.\n"]]