Skip to main content

Home > @jsplumbtoolkit/browser-ui > Surface > toggleGroup

Surface.toggleGroup() method#

Expand/collapse the given group, depending on the current state.

Signature:

toggleGroup(group: string | Group): void;

Parameters#

ParameterTypeDescription
groupstring | GroupGroup ID, or Group, to expand/collapse.

Returns:

void