Function: setParentContainer()
function setParentContainer(newParent): void;
Defined in: packages/blockly/core/common.ts:186
Set the parent container. This is the container element that the WidgetDiv,
DropDownDiv, and Tooltip are rendered into the first time Blockly.inject
is called.
This method is a NOP if called after the first Blockly.inject.
Parameters
| Parameter | Type | Description |
|---|---|---|
newParent | Element | The container element. |
Returns
void