blockly > Block > appendDummyInput
Appends a dummy input row.
Signature:
appendDummyInput(name?: string): Input;
Parameters
Parameter |
Type |
Description |
name |
string |
(Optional) Optional 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 `appendDummyInput()` method adds a non-editable input row to a Blockly block, often used for labels or images."],["An optional `name` parameter can be provided for identifying the input later, ideally unique within the block."],["The method returns an `Input` object representing the newly created dummy input."]]],[]]