Skip to main content

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

WorkspaceSvg

The workspace containing variables.

Returns:

FlyoutItemInfo[]

List of flyout contents as JSON.