blockly > VariablesDynamic > flyoutCategory

VariablesDynamic.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.