Skip to main content

blockly > common > getParentContainer

common.getParentContainer() function

Get the container element in which to render the WidgetDiv, DropDownDiv and Tooltip.

Signature:

export declare function getParentContainer(workspace?: Workspace): Element | null;

Parameters

Parameter

Type

Description

workspace

Workspace

(Optional)

Returns:

Element | null

The parent container.