Home > blockly > Events > setGroup
Events.setGroup() function
Start or stop a group.
Signature:
export declare function setGroup(state: boolean | string): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| state | boolean | string | True to start new group, false to end group. String to set group explicitly. |
Returns:
void