blockly > WorkspaceSvg > getFlyout
WorkspaceSvg.getFlyout() method
Getter for the flyout associated with this workspace. This flyout may be owned by either the toolbox or the workspace, depending on toolbox configuration. It will be null if there is no flyout.
Signature:
getFlyout(opt_own?: boolean): IFlyout | null;
Parameters
Parameter | Type | Description |
---|---|---|
opt_own | boolean | (Optional) Whether to only return the workspace's own flyout. |
Returns:
IFlyout | null
The flyout on this workspace.