Add view mode actions to the builder. items defaults to the three built-in editor view modes;
callers pass an extended list to surface contributed modes (see ViewModeItem) in the same
single-select dropdown. The trigger tracks the checked item (via the group's applyActive).
Add view mode actions to the builder.
itemsdefaults to the three built-in editor view modes; callers pass an extended list to surface contributed modes (see ViewModeItem) in the same single-select dropdown. The trigger tracks the checked item (via the group'sapplyActive).