ब्लॉकली > setParentContainer

setParentContainer वैरिएबल

पैरंट कंटेनर सेट करें. यह एक कंटेनर एलिमेंट है, जिसे पहली बार Blockly.inject को कॉल करने पर WidgetDiv, ड्रॉपडाउन, और टूलटिप के लिए इस्तेमाल किया जाता है. अगर पहले Blockly.inject के बाद कॉल किया जाता है, तो यह तरीका एनओपी है.

हस्ताक्षर:

setParentContainer: typeof common.setParentContainer