ChipComponent
Displays a Chip that represents an input, attribute or an action.
Selector
kendo-chip
Inputs
Name | Type | Default | Description |
---|---|---|---|
avatarSettings |
|
Use these settings to render an avatar within the Chip. | |
disabled |
|
|
If set to |
fillMode |
|
The fillMode property specifies the background and border styles of the Chip (see example). The possible values are:
| |
icon |
|
Defines the name for an existing icon in a Kendo UI theme.
The icon is rendered inside the Chip by a | |
iconClass |
|
Defines a CSS class — or multiple classes separated by spaces — which are applied to a span element. Allows the usage of custom icons. | |
label |
|
Sets the label text of the Chip. | |
removable |
|
|
Specifies if the Chip will be removable or not.
If the property is set to |
removeIcon |
|
Specifies a custom remove font icon class that will be rendered when the Chip is removable. see example | |
removeSvgIcon |
|
Specifies a custom remove SVG icon that will be rendered when the Chip is removable. | |
rounded |
|
The rounded property specifies the border radius of the Chip (see example). The possible values are:
| |
selected |
|
|
Specifies the selected state of the Chip. |
size |
|
The size property specifies the padding of the Chip (see example). The possible values are:
| |
svgIcon |
|
Defines an | |
themeColor |
|
The Chip allows you to specify predefined theme colors. The theme color will be applied as a background and border color while also amending the text color accordingly (see example). The possible values are:
|
Events
Name | Type | Description |
---|---|---|
contentClick |
|
Fires each time the user clicks the content of the Chip. |
remove |
|
Fires each time the user clicks the remove icon of the Chip. |
Methods
blur |
---|
Blurs the Chip component. |
focus |
---|
Focuses the Chip component. |