blockly > inputs
Classes
Class |
Description |
DummyInput |
Represents an input on a block with no connection. |
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. |
Input |
Class for an input with optional fields. |
StatementInput |
Represents an input on a block with a statement connection. |
ValueInput |
Represents an input on a block with a value connection. |
Enumerations
Enumeration |
Description |
Align |
Enum for alignment of inputs. |
inputTypes |
Enum for the type of a connection or 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."],[[["The `inputs` namespace in Blockly defines classes and enums for managing input connections on blocks."],["It includes classes for different input types like DummyInput, EndRowInput, Input, StatementInput, and ValueInput, each serving a specific purpose in block structure."],["Blockly uses these classes to represent and handle connections for values, statements, and dummy inputs on blocks, enabling diverse block functionalities."],["Enumerations like `Align` and `inputTypes` further refine input properties by specifying alignment and connection types."]]],[]]