# ef-tab

A building block for individual tab

## Properties

| Property        | Attribute         | Type      | Default | Description                                 |
|-----------------|-------------------|-----------|---------|---------------------------------------------|
| `active`        | `active`          | `boolean` | false   | Specify tab's active status                 |
| `clears`        | `clears`          | `boolean` | false   | Set tab to clearable                        |
| `clearsOnHover` | `clears-on-hover` | `boolean` | false   | Set tab to clearable on hover               |
| `disabled`      | `disabled`        | `boolean` | false   | Set disabled state                          |
| `icon`          | `icon`            | `string`  | ""      | Specify icon name to display in tab         |
| `label`         | `label`           | `string`  | ""      | Specify tab's label text                    |
| `lineClamp`     | `line-clamp`      | `number`  | 1       | Limit the number of lines before truncating |
| `subLabel`      | `sub-label`       | `string`  | ""      | Specify tab's sub-label text                |
| `value`         | `value`           | `string`  | ""      | Tab's value                                 |

## Events

| Event   | Description                                |
|---------|--------------------------------------------|
| `clear` | Fired when the user clicks on clear button |
