blockly > inputs > ValueInput
Represents an input on a block with a value connection.
Signature:
export declare class ValueInput 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."],[[["Represents an input on a block that accepts a value connection from another block."],["Extends the `Input` class, inheriting its properties and methods."],["Constructed with a name, associated with a specific block."],["Has properties such as `name` (a string identifier) and `type`."]]],["The `ValueInput` class, extending the `Input` class, represents a value connection point on a block. It's constructed using a name and a block. Key properties include `name`, a string, and a read-only `type` property. The class allows a block to handle connections that carry a value. The core actions involve creating instances of `ValueInput` for block connections, using its associated name and type.\n"]]