Stay organized with collections
Save and categorize content based on your preferences.
blockly > Input > init
Initialize the fields on this input.
Signature:
init(): void;
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\u003eThis method initializes the fields associated with a specific input element within a Blockly block.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eInput.init()\u003c/code\u003e is responsible for setting up the necessary components of an input, such as its fields and connections, to be fully functional within the block.\u003c/p\u003e\n"],["\u003cp\u003eThe method does not return any specific value, indicated by its \u003ccode\u003evoid\u003c/code\u003e return type, as its primary purpose is to perform internal initialization.\u003c/p\u003e\n"]]],[],null,["[blockly](./blockly.md) \\\u003e [Input](./blockly.input_class.md) \\\u003e [init](./blockly.input_class.init_1_method.md)\n\nInput.init() method\n-------------------\n\nInitialize the fields on this input.\n\n**Signature:** \n\n init(): void;\n\n**Returns:**\n\nvoid"]]