Creates a ribbon group.
The options of GroupedItems plus headerDirection and headerPlacement; items must be ribbon items.
Ribbon groups only accept RibbonItem, and other groups do not accept RibbonItem. Returns the error message, or false.
Sets the space between items. Invalid values (negative or not a number) are ignored with a warning.
Space in pixels.
Sets how much the group grows to fill its header. Invalid values (negative or not a number) are ignored with a warning.
Flex grow factor.
Replaces the items of the group. New item objects are registered in the UI; a ribbon group only accepts ribbon items and other groups do not accept them (invalid lists are ignored with a warning).
Item objects, or dataElements of existing items.
Sets how items are distributed along the group. Values outside the supported list are ignored with a warning.
One of 'start', 'end', 'center', 'space-between', 'space-around', 'space-evenly'.
Replaces the inline CSS styles of the group and updates it on screen.
CSS property names (camelCase) mapped to their values.
For flattening: the instance's own fields plus its own gap / grow / justifyContent (not read from the store, so a new instance with the same name does not bring back old values).
Whether the group stays visible regardless of the active ribbon item.
Unique name of the group.
Space between items, in pixels.
Flex grow factor of the group within its header (0 means it does not grow).
OptionalheaderDirection of the header the ribbon is placed in; kept with the group's data and does not affect the layout.
OptionalheaderPlacement of the header the ribbon is placed in; kept with the group's data and does not affect the layout.
OptionalhiddenHides the group: true always; an array of screen sizes ('desktop', 'tablet', 'mobile', 'small-mobile') only on those.
Items in the group, in display order; strings refer to existing items by dataElement.
How items are distributed along the group ('start', 'end', 'center', 'space-between', 'space-around' or 'space-evenly').
OptionallabelOptional label of the group.
OptionalplacementPlacement value kept with the group's data; it does not affect the layout.
OptionalpositionPosition value kept with the group's data; it does not affect the layout.
Inline CSS styles applied to the group's element.
Item type: 'groupedItems' ('ribbonGroup' for ribbon groups).
The group that holds the ribbon items of a header (the tabs that switch between toolbars).