SegmentedItemProps
Represents the properties of a single item in the SegmentedControl.
Definition
Package:@progress/kendo-vue-buttons
Properties
aria-label?
string
Sets the aria-label HTML attribute of the item button.
dir?
string
Sets the dir HTML attribute of the item button. It controls the text direction.
disabled?
boolean
Sets whether the item is disabled.
endIcon?
string
Sets the name of a font icon to render after the item text.
The item renders it only when you do not set itemTemplate.
endSvgIcon?
SVGIcon
Sets the SVGIcon to render after the item text.
Use it with svgIcon to show icons on both sides of the text.
The item renders it only when you do not set itemTemplate.
iconClassName?
string
Sets a CSS class that the icon element gets only when the item is selected.
It has no effect when you set itemTemplate.
onBlur?
(e: FocusEvent) => void
Sets a handler that runs when the item button loses the focus.
onClick?
(e: MouseEvent) => void
Sets a handler that runs when the user clicks the item button.
onFocus?
(e: FocusEvent) => void
Sets a handler that runs when the item button gets the focus.
onMouseEnter?
(e: MouseEvent) => void
Sets a handler that runs when the mouse pointer enters the item button.
onMouseLeave?
(e: MouseEvent) => void
Sets a handler that runs when the mouse pointer leaves the item button.
svgIcon?
SVGIcon
Sets an SVGIcon that the item renders before its text.
The item renders it only when you do not set itemTemplate.
text?
string
Sets the text of the item.
The item renders the text inside a <span> element only when you do not set itemTemplate.
title?
string
Sets the title HTML attribute of the item button.
type?
"button" | "submit" | "reset"
Sets the type HTML attribute of the item button.
"button"
value
string
Sets the unique value of the item. The SegmentedControl compares it with its value to find the selected item.