# li-tag

<!-- Auto Generated Below -->

## Properties

| Property      | Attribute      | Description                       | Type                                                                                                                                   | Default      |
| ------------- | -------------- | --------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
| `color`       | `color`        | 标签颜色                          | `"black" \| "brown" \| "cyan" \| "dismissable" \| "green" \| "grey" \| "olive" \| "orange" \| "red" \| "teal" \| "violet" \| "yellow"` | `'grey'`     |
| `disabled`    | `disabled`     | 是否禁用 {boolean}                | `boolean \| undefined`                                                                                                                 | `false`      |
| `dismissText` | `dismiss-text` | 删除提示文本 {string}             | `string \| undefined`                                                                                                                  | `'删除'`     |
| `dismissable` | `dismissable`  | 是否可以删除 {boolean}            | `boolean \| undefined`                                                                                                                 | `false`      |
| `href`        | `href`         | 链接指向 {string}                 | `string \| undefined`                                                                                                                  | `''`         |
| `size`        | `size`         | 尺寸大小 {('small' \| 'normal')}  | `"normal" \| "small" \| undefined`                                                                                                     | `undefined`  |
| `styles`      | `styles`       | 可选属性 注入的样式style {string} | `string \| undefined`                                                                                                                  | `undefined`  |
| `target`      | `target`       | 链接目标窗口 {string}             | `string \| undefined`                                                                                                                  | `'_self'`    |
| `type`        | `type`         | 标签类型                          | `"standard" \| "strong" \| undefined`                                                                                                  | `'standard'` |

## Events

| Event      | Description                                                                            | Type                      |
| ---------- | -------------------------------------------------------------------------------------- | ------------------------- |
| `li-close` | ---------------------------------- 5.自定义事件部分 ---------------------------------- | `CustomEvent<MouseEvent>` |

## Shadow Parts

| Part                   | Description |
| ---------------------- | ----------- |
| `"button-dismissable"` |             |
| `"icon-dismissable"`   |             |

## Dependencies

### Used by

- [li-data-grid](../data-grid)

### Depends on

- [li-icon-action-close](../icons/action-close)

### Graph

```mermaid
graph TD;
  li-tag --> li-icon-action-close
  li-data-grid --> li-tag
  style li-tag fill:#f9f,stroke:#333,stroke-width:4px
```

---

_Built with ITSI_
