रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
blockly > blockRendering > फ़ील्ड > (कंस्ट्रक्टर)
blockRendering.Field.(constructor)
Field
क्लास का नया इंस्टेंस बनाता है
हस्ताक्षर:
constructor(constants: ConstantProvider, field: BlocklyField, parentInput: Input);
पैरामीटर
पैरामीटर |
टाइप |
ब्यौरा |
कॉन्स्टेंट |
ConstantProvider |
रेंडरिंग कॉन्सटेंट प्रोवाइडर. |
फ़ील्ड |
BlocklyField |
वह फ़ील्ड जिसकी जानकारी को मेज़र और सेव करना है. |
parentInput |
इनपुट |
फ़ील्ड के लिए पैरंट इनपुट. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-11-08 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-11-08 (UTC) को अपडेट किया गया."],[[["The `blockRendering.Field` constructor creates a new rendering object for a Blockly field."],["It uses a `ConstantProvider` for rendering settings, a `BlocklyField` for field data, and an `Input` to identify the field's parent."],["This constructor is essential for integrating fields into the block rendering process within Blockly."]]],["The `Field` class constructor initializes a new field instance within the Blockly rendering system. It requires three parameters: `constants`, a `ConstantProvider` defining rendering constants; `field`, a `BlocklyField` representing the actual field being rendered; and `parentInput`, an `Input` representing the field's parent input. This process involves storing information and setting up the field for display within the rendered Blockly block.\n"]]