Skip to content

Commit 3f3c28d

Browse files
authored
docs(Chip): add aria-label and id parameters (#2093)
* docs(Chip): add aria-label and id parameters * docs(Chip): address comment * docs(Chip): add appropriate class
1 parent d7a3fe3 commit 3f3c28d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/chip/overview.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,11 @@ The table below lists the Chip parameters. Also check the [Chip API Reference](/
5959

6060
| Parameter | Type and Default Value | Description |
6161
| --- | --- | --- |
62+
| `AriaLabel` | `string` | Maps to the `aria-label` attribute of the `<div class="k-chip">` element. Use this parameter if the text that labels the component is not visible. |
6263
| `Class` | `string` | An additional CSS class for the `<div class="k-chip">` element. Use it to [customize the component styles and override the theme]({%slug themes-override%}). |
6364
| `Disabled` | `bool` | Specifies if the Chip is disabled. |
6465
| `Icon` | `object` | Use this parameter to render an icon in the chip. |
66+
| `Id` | `string` | Renders as the `id` attribute on the `<select />` element, so you can attach a `<label for="">` to it. |
6567
| `Removable` | `bool` | Specifies if the chip can be removed by the user. If set to `true` a remove icon will be rendered on each available chip. |
6668
| `RemoveIcon` | `object` | Defines the icon that will be rendered if the `Removable` parameter is set to `true`. |
6769
| `Selectable` | `bool` <br/> (`true`) | Specifies if the Chip can be selected. Overrides the `Selected` parameter value.|

0 commit comments

Comments
 (0)