Name | Type | Description |
---|---|---|
data | Array of any: {id,buttonText,hoverText,iconURL,onClick} | Array of button element properties |
buttonGroupStyle | ButtonGroupStyle | Styling properties and values of the element |
Name | Description |
---|---|
width | Sets the width of the element |
height | Sets the height of the element |
border | Sets the border of the element |
borderRadius | Sets the border radius of the element |
background | Sets all background style properties at once, such as color, image, origin and size, or repeat method of the element. Reference link |
iconTint | Sets the tint or color applied to the element |
buttonTextFont | Sets all the different properties of font of text appearing on each button Reference link |
buttonTextColor | Sets the foreground color for each button. |
buttonBorder | Sets the border for each button |
buttonBorderRadius | Sets the border radius for each button |
buttonBackground | Sets all background style properties at once, such as color, image, origin and size, or repeat method for each button. Reference link |
activeButtonTextFont | Sets all the different properties of font of text appearing on the button with an active state Reference link |
activeButtonTextColor | Sets the foreground color of the text appearing on the button with an active state. |
activeButtonBorder | Sets the border on the button with an active state |
activeButtonBorderRadius | Sets the border radius of the button with an active state |
activeButtonBackground | Sets all background style properties at once, such as color, image, origin and size, or repeat method of button with an active state. Reference link |
activeButtonBoxShadow | Sets shadow effects around the button with an active state |
buttonSeparatorColor | Sets the foreground color of the divider line that appears between each individual button element |
Name | Description |
---|---|
cc-button-group-clicked | Event triggered when user clicks on any of the button within the element |