blockly > setParentContainer

setParentContainer 變數

設定父項容器。這是容器元素,當 Blockly.inject 首次呼叫時,WidgetDiv、dropDownDiv 和 Tooltip 會算繪至此。如果在第一個 Blockly.inject 之後呼叫,這個方法就會是 NOP。

Signature:

setParentContainer: typeof common.setParentContainer