blockly > ToolboxCategory > getContents
ToolboxCategory.getContents() method
Gets the contents of the category. These are items that are meant to be displayed in the flyout.
Signature:
getContents(): FlyoutItemInfoArray | string;
Returns:
FlyoutItemInfoArray | string
The definition of items to be displayed in the flyout.