-
Notifications
You must be signed in to change notification settings - Fork 137
Platform: Action Button Group Component Technical Design
Kevin Okamoto edited this page Feb 14, 2020
·
6 revisions
The ActionButtonGroup manages overflow of the action buttons within its content, as well as responsiveness. The ActionButtonGroup can contain any number of buttons. If the button count exceeds the maximum number of buttons allowed then the extra buttons will "overflow" into a dropdown menu. Additionally, if the screen size is reduced to a "small" screen size then all of the buttons will be contained in the "overflow" menu.
<fdp-action-button-group [maxCount]="3" [compact]="true">
<fdp-button>One</fdp-button>
<fdp-button>Two</fdp-button>
<fdp-button>Three</fdp-button>
<fdp-button>Four</fdp-button>
</fdp-action-button-group>Maximum number of buttons before "overflow" feature is applied. Default: 3.
Whether or not to display overflow button in compact mode.
The content of the ActionButtonGroup can contain any number of buttons.