Home > @i2analyze/notebook-sdk > commands > IGroupBase > isCollapsed
commands.IGroupBase.isCollapsed property
Warning: This API is now obsolete.
Deprecated since version 1.9. Use commands.IGroup.type instead.
Indicates whether the group is initially expanded (false) or collapsed (true) in the user interface.
Signature:
readonly isCollapsed?: boolean;
Returns: boolean
Introduced: version 1.5
Remarks
This is deprecated in favour of the more explicit commands.IGroup.type property. When migrating, use type: 'collapsed' instead of isCollapsed: true, and type: 'expanded' instead of isCollapsed: false or omitting the property.