रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
ब्लॉकली > सामान्य > setParentContainer
कॉमन.setParentContainer() फ़ंक्शन
पैरंट कंटेनर सेट करें. यह एक कंटेनर एलिमेंट है जिसे पहली बार Blockly.inject
को कॉल करने पर WidgetDiv, ड्रॉपडाउन, और टूलटिप की मदद से रेंडर किया जाता है. अगर पहले Blockly.inject
के बाद कॉल किया जाता है, तो यह तरीका एनओपी है.
हस्ताक्षर:
export declare function setParentContainer(newParent: Element): void;
पैरामीटर
पैरामीटर |
टाइप |
ब्यौरा |
newParent |
एलिमेंट |
कंटेनर एलिमेंट. |
लौटाए जाने वाले प्रॉडक्ट:
अमान्य
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-08-29 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-08-29 (UTC) को अपडेट किया गया."],[[["The `setParentContainer` function designates the container for UI elements like WidgetDiv, DropDownDiv, and Tooltip during the initial Blockly injection."],["It accepts an HTML element as the new parent container for these Blockly UI elements."],["Calling this function after the first `Blockly.inject` has no effect."]]],[]]