Toggles the group to either expanded or collapsed state.
This method does not have any arguments.
This method does not return a value.
Depending on current state of the group, a call to this method will trigger either beforeExpand and afterExpand events, or beforeCollapse and afterCollapse events.
Supported in: v1.0.