Stay organized with collections Save and categorize content based on your preferences.

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): Element[];

Parameters

Parameter Type Description
workspace WorkspaceSvg The workspace containing variables.

Returns:

Element[]

Array of XML elements.