Canvas.group Method
Group the design object or existing groups.
Parameters
- groupMembersOrGroup
-
Type: Array
ElementType: CanvasSelectableViewModel
View models of the groups or group members to create a group
- transaction
-
Type: Transaction - May be null
(Optional) Transaction to perform the grouping. If not provided, a new transaction will be used.
- groupName
-
Type: String - May be null
(Optional) Name of the group.
Return Value
Type: SelectionGroupViewModel
The view model of the group.