Stay organized with collections
Save and categorize content based on your preferences.
blockly > blockRendering > Drawer > drawValueInput_
Add steps for an external value input, rendered as a notch in the side of the block.
Signature:
protected drawValueInput_(row: Row): void;
Parameters
Parameter |
Type |
Description |
row |
Row |
The row that this input belongs to. |
Returns:
void
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThe \u003ccode\u003edrawValueInput_\u003c/code\u003e method is used within the Blockly block rendering process to visually represent external value inputs as notches on the block's side.\u003c/p\u003e\n"],["\u003cp\u003eThis method is part of the \u003ccode\u003eblockRendering.Drawer\u003c/code\u003e class and is called internally during block rendering, accepting a \u003ccode\u003eRow\u003c/code\u003e object defining the input's position.\u003c/p\u003e\n"],["\u003cp\u003eIt focuses solely on the visual representation of the input and does not handle the logic or data associated with the input itself.\u003c/p\u003e\n"]]],[],null,["[blockly](./blockly.md) \\\u003e [blockRendering](./blockly.blockrendering_namespace.md) \\\u003e [Drawer](./blockly.blockrendering_namespace.drawer_class.md) \\\u003e [drawValueInput_](./blockly.blockrendering_namespace.drawer_class.drawvalueinput__1_method.md)\n\nblockRendering.Drawer.drawValueInput_() method\n----------------------------------------------\n\nAdd steps for an external value input, rendered as a notch in the side of the block.\n\n**Signature:** \n\n protected drawValueInput_(row: Row): void;\n\nParameters\n----------\n\n| Parameter | Type | Description |\n|-----------|--------------------------------------------------------|-------------------------------------|\n| row | [Row](./blockly.blockrendering_namespace.row_class.md) | The row that this input belongs to. |\n\n**Returns:**\n\nvoid"]]