Skip to main content

Home > blockly > ToolboxCategory > setSelected

ToolboxCategory.setSelected() method

Sets the current category as selected.

Signature:

setSelected(isSelected: boolean): void;

Parameters

ParameterTypeDescription
isSelectedbooleanTrue if this category is selected, false otherwise.

Returns:

void