blockly > ICollapsibleToolboxItem > isExpanded

ICollapsibleToolboxItem.isExpanded() method

Whether the toolbox item is expanded to show its child subcategories.

Signature:

isExpanded(): boolean;

Returns:

boolean

True if the toolbox item shows its children, false if it is collapsed.