ButtonGroupProps
Represents the props of the Kendo UI for Vue ButtonGroup component.
Definition
Package:@progress/kendo-vue-buttons
Properties
accessKey?
string
Sets the accessKey property of the Button.
ariaLabel?
string
Sets the aria-label of the Button.
ariaPressed?
boolean
Sets the aria-pressed attribute of the Button.
className?
string
Sets the className of the ButtonGroup component.
dir?
string
disabled?
boolean
By default, the ButtonGroup is enabled (see example). To disable the whole group of buttons,
set its disabled attribute to true. To disable a specific button, set its own disabled attribute to true and leave the disabled attribute of the ButtonGroup undefined.
If you define the disabled attribute of the ButtonGroup, it will take precedence over the disabled attributes
of the underlying buttons and they will be ignored.
fillMode?
"solid" | "outline" | "flat" | "link"
Configures the fillMode of the Button.
The available options are:
- solid
- outline
- flat
- link
undefined
icon?
string
Defines the name for an existing icon in a Kendo UI for Vue theme (see example). The icon is rendered inside the Button by a span.k-icon element.
iconClass?
string
Defines a CSS class—or multiple classes separated by spaces—which are applied to a span element inside the Button (see example). Allows the usage of custom icons.
iconSize?
string
defines the size of the SVG icon displayed inside the Button.
id?
string
Sets the id property of the Button.
imageAlt?
string
Defines the alternative text of the image rendered inside the Button component.
imageUrl?
string
Defines a URL which is used as an img element inside the Button (see example). The URL can be relative or absolute. If relative, it is evaluated with relation to the URL of the web page.
role?
string
Sets the role attribute of the Button.
rounded?
"small" | "medium" | "large" | "none" | "full"
Configures the roundness of the Button.
The available options are:
- none
- small
- medium
- large
- circle
- full
undefined
selected?
boolean
Sets the selected state of the Button. Can be used for controlled mode.
size?
"xs" | "small" | "medium" | "large"
Configures the size of the Button.
The available options are:
- xs
- small
- medium
- large
undefined
svgIcon?
SVGIcon
Defines an SVGIcon to be rendered within the button.
tabIndex?
number
Sets the tabIndex property of the Button.
themeColor?
"base" | "primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "error" | "inverse"
Configures the themeColor of the Button.
The available options are:
- base
- primary
- secondary
- tertiary
- info
- success
- warning
- error
- inverse
undefined
title?
string
Sets the title HTML attribute of the Button.
togglable?
boolean
Provides visual styling that indicates if the Button is selected (see example). Defaults to false.
type?
string
Sets the type property of the Button.
width?
string
Sets the width of the ButtonGroup.
If the width of the ButtonGroup is set:
- The buttons resize automatically to fill the full width of the group wrapper.
- The buttons acquire the same width.