Skip to main content

Home > 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

ParameterTypeDescription
workspaceWorkspaceThe workspace containing variables.

Returns:

Element[]

Array of XML block elements.