Stay organized with collections
Save and categorize content based on your preferences.
blockly > FieldLabelConfig
FieldLabelConfig interface
Config options for the label field.
Signature:
export interface FieldLabelConfig extends FieldConfig
Extends: FieldConfig
Properties
Property |
Modifiers |
Type |
Description |
class? |
|
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eFieldLabelConfig\u003c/code\u003e interface defines configuration options for label fields in Blockly.\u003c/p\u003e\n"],["\u003cp\u003eIt extends the \u003ccode\u003eFieldConfig\u003c/code\u003e interface and includes an optional \u003ccode\u003eclass\u003c/code\u003e property for styling.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eclass\u003c/code\u003e property is a string and can be used to apply custom CSS classes to the label.\u003c/p\u003e\n"]]],["The `FieldLabelConfig` interface defines configuration options for label fields, extending the `FieldConfig` interface. It allows for optional customization of the label's appearance through a `class` property, which accepts a string value. This `class` property is the only specific configuration option for label fields mentioned beyond what is inherited from the `FieldConfig`.\n"],null,["[blockly](./blockly.md) \\\u003e [FieldLabelConfig](./blockly.fieldlabelconfig_interface.md)\n\nFieldLabelConfig interface\n--------------------------\n\nConfig options for the label field.\n\n**Signature:** \n\n export interface FieldLabelConfig extends FieldConfig \n\n**Extends:** [FieldConfig](./blockly.fieldconfig_interface.md)\n\nProperties\n----------\n\n| Property | Modifiers | Type | Description |\n|---------------------------------------------------------------------------|-----------|--------|--------------|\n| [class?](./blockly.fieldlabelconfig_interface.class_propertysignature.md) | | string | *(Optional)* |"]]