blockly > setParentContainer

setParentContainer 變數

設定父項容器。這是 WidgetDiv、DropDownDiv 和工具提示的容器元素,會在第一次呼叫 Blockly.inject 時轉譯。如果在第一個 Blockly.inject 之後呼叫,此方法便是 NOP。

Signature:

setParentContainer: typeof common.setParentContainer