blockly > Block > appendValueInput
Appends a value input row.
Signature:
appendValueInput(name: string): Input;
Parameters
Parameter |
Type |
Description |
name |
string |
Language-neutral identifier which may used to find this input again. Should be unique to this block. |
Returns:
Input
The input object created.
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 `appendValueInput()` method adds a new value input row to a Blockly block."],["This method requires a unique `name` parameter to identify the input and returns an `Input` object representing the created input."],["Developers can use the `name` to later access and manipulate this specific input within the block's structure."]]],["The `Block.appendValueInput()` method adds a new value input row to a block. It takes a single parameter, `name`, which is a unique, language-neutral string identifier for the input. This method returns an `Input` object that represents the newly created input. The `name` parameter allows for later retrieval of this specific input within the block.\n"]]