blockly > Variables > flyoutCategory
Variables.flyoutCategory() function
Construct the elements (blocks and button) required by the flyout for the variable category.
Signature:
export declare function flyoutCategory(workspace: WorkspaceSvg): FlyoutItemInfo[];
Parameters
Parameter | Type | Description |
|---|---|---|
workspace | The workspace containing variables. |
Returns:
List of flyout contents as JSON.