blockly > Block > appendStatementInput
Appends a statement input row.
Signature:
appendStatementInput(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 `appendStatementInput()` method adds a new statement input row to a Blockly block."],["This method requires a unique `name` for the input to be identified within the block."],["It returns an `Input` object representing the newly created statement input."]]],[]]