blockly > inputs > EndRowInput > (constructor)
Constructs a new instance of the EndRowInput
class
Signature:
constructor(name: string, block: Block);
Parameters
Parameter |
Type |
Description |
name |
string |
Language-neutral identifier which may used to find this input again. |
block |
Block |
The block containing this input. |
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."],[[["Constructs a new `EndRowInput` object, which forces the next input to be rendered on a new line in the Blockly editor."],["Requires a `name` for identification and the parent `block` object during creation."],["The `name` parameter is a language-neutral identifier used to reference this specific input."]]],["The `EndRowInput` class constructor creates a new `EndRowInput` instance. It requires two parameters: `name`, a string serving as a language-neutral identifier for the input, and `block`, a `Block` object representing the block that contains this input. This constructor is responsible for setting up a new input within a specific block, using the provided name for identification.\n"]]