रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
ब्लॉकली > blockRendering > RenderInfo > addInput_
अगर ज़रूरी हो, तो ऐक्टिव लाइन में कोई इनपुट एलिमेंट जोड़ें. साथ ही, पंक्ति में इनपुट का टाइप रिकॉर्ड करें.
हस्ताक्षर:
protected addInput_(input: Input, activeRow: Row): void;
पैरामीटर
पैरामीटर |
टाइप |
ब्यौरा |
इनपुट |
इनपुट |
इसके बारे में जानकारी रिकॉर्ड करने के लिए इनपुट. |
activeRow |
पंक्ति |
फ़िलहाल, इस लाइन में जानकारी भरी जा रही है. |
लौटाए जाने वाले प्रॉडक्ट:
अमान्य
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThe \u003ccode\u003eaddInput_\u003c/code\u003e method is used within the Blockly block rendering process to manage the visual representation of block inputs.\u003c/p\u003e\n"],["\u003cp\u003eIt specifically adds an input element to the current row being rendered and stores information about the input type.\u003c/p\u003e\n"],["\u003cp\u003eThis method is crucial for correctly positioning and displaying inputs within a block's visual structure during rendering.\u003c/p\u003e\n"]]],["The `addInput_()` method, part of `RenderInfo`, adds an input element to a row being actively built. It records the input's type on that row. This method accepts two parameters: the `Input` itself and the `Row` it's being added to. Its role is to populate a specified row with information regarding the provided input. The method does not return a value.\n"],null,["[blockly](./blockly.md) \\\u003e [blockRendering](./blockly.blockrendering_namespace.md) \\\u003e [RenderInfo](./blockly.blockrendering_namespace.renderinfo_class.md) \\\u003e [addInput_](./blockly.blockrendering_namespace.renderinfo_class.addinput__1_method.md)\n\nblockRendering.RenderInfo.addInput_() method\n--------------------------------------------\n\nAdd an input element to the active row, if needed, and record the type of the input on the row.\n\n**Signature:** \n\n protected addInput_(input: Input, activeRow: Row): void;\n\nParameters\n----------\n\n| Parameter | Type | Description |\n|-----------|--------------------------------------------------------|--------------------------------------------|\n| input | [Input](./blockly.input_class.md) | The input to record information about. |\n| activeRow | [Row](./blockly.blockrendering_namespace.row_class.md) | The row that is currently being populated. |\n\n**Returns:**\n\nvoid"]]