blockly > Variables > flyoutCategoryBlocks

Variables.flyoutCategoryBlocks() function

Construct the blocks required by the flyout for the variable category.

Signature:

export declare function flyoutCategoryBlocks(workspace: Workspace): Element[];

Parameters

Parameter Type Description
workspace Workspace The workspace containing variables.

Returns:

Element[]

Array of XML block elements.