blockly > inputs > EndRowInput
Represents an input on a block that is always the last input in the row. Any following input will be rendered on the next row even if the block has inline inputs. Any newline character in a JSON block definition's message will automatically be parsed as an end-row input.
Signature:
export declare class EndRowInput extends Input
Extends: Input
Constructors
Properties
Property |
Modifiers |
Type |
Description |
name |
|
string |
|
type |
readonly |
(not declared) |
|
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."],[[["`EndRowInput` in Blockly forces the subsequent input to render on a new row, ensuring clear visual separation."],["It inherits from the `Input` class and is automatically created when a newline character is present in a block's JSON definition message."],["Primarily used for organizing block inputs and enhancing readability, especially in complex blocks."]]],["The `EndRowInput` class, extending the `Input` class, represents a block input that forces subsequent inputs to render on a new row. This occurs even if the block has inline inputs. A newline character within a JSON block definition's message is automatically interpreted as an end-row input. The class has a constructor and includes `name` and `type` properties. `name` is of string type. `type` is read only.\n"]]