# li-link

<!-- Auto Generated Below -->

## Properties

| Property         | Attribute        | Description                                                                                                                                                                                                        | Type                                                                                                                                                                                                  | Default     |
| ---------------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| `disabled`       | `disabled`       | 可选属性 禁用链接 {boolean}                                                                                                                                                                                        | `boolean \| undefined`                                                                                                                                                                                | `false`     |
| `download`       | `download`       | 可选属性 下载声明 {string}                                                                                                                                                                                         | `string \| undefined`                                                                                                                                                                                 | `undefined` |
| `href`           | `href`           | 链接地址 {string}                                                                                                                                                                                                  | `string`                                                                                                                                                                                              | `undefined` |
| `hreflang`       | `hreflang`       | 可选属性 表示链接目标文档的语言 {string}                                                                                                                                                                           | `string \| undefined`                                                                                                                                                                                 | `undefined` |
| `iconPosition`   | `icon-position`  | 可选属性 图标的位置。默认在链接文本后面 {('before' \| 'after')}                                                                                                                                                    | `"after" \| "before" \| undefined`                                                                                                                                                                    | `'after'`   |
| `innerTabindex`  | `inner-tabindex` | 设置'tabindex'值 {number}                                                                                                                                                                                          | `number \| undefined`                                                                                                                                                                                 | `undefined` |
| `omitUnderline`  | `omit-underline` | 可选属性 去掉超链接文本下的下划线 {boolean}                                                                                                                                                                        | `boolean \| undefined`                                                                                                                                                                                | `false`     |
| `ping`           | `ping`           | ping特性是<a>的原生属性，用于跟踪和监控。当用户点击超连接时，ping特性会发送一个POST请求到指定的URL(ping特性的值) {string}                                                                                          | `string \| undefined`                                                                                                                                                                                 | `undefined` |
| `referrerpolicy` | `referrerpolicy` | 当用户点击链接时，发送到服务器方的参考信息。 referrerpolicy="no-referrer\|no-referrer-when-downgrade\|origin\|origin-when-cross-origin\|same-origin\|strict-origin-when-cross-origin\|unsafe-url" {ReferrerPolicy} | `"" \| "no-referrer" \| "no-referrer-when-downgrade" \| "origin" \| "origin-when-cross-origin" \| "same-origin" \| "strict-origin" \| "strict-origin-when-cross-origin" \| "unsafe-url" \| undefined` | `undefined` |
| `rel`            | `rel`            | 可选属性，只有href属性存在时才可以生效。表示当前文档和链接目标文档的关联 {string}                                                                                                                                  | `string \| undefined`                                                                                                                                                                                 | `undefined` |
| `styles`         | `styles`         | 可选属性 注入的样式style字符串 {string}                                                                                                                                                                            | `string \| undefined`                                                                                                                                                                                 | `undefined` |
| `target`         | `target`         | 链接打开的目标窗口 {('\_self' \| '\_blank' \| '\_parent' \| '\_top')}                                                                                                                                              | `"_blank" \| "_parent" \| "_self" \| "_top" \| undefined`                                                                                                                                             | `undefined` |
| `type`           | `type`           | 链接URL的MIME类型格式提示 {string}                                                                                                                                                                                 | `string \| undefined`                                                                                                                                                                                 | `undefined` |

## Methods

### `setFocus() => Promise<void>`

---

## 8.应用Method()装饰器的公共方法

#### Returns

Type: `Promise<void>`

## Shadow Parts

| Part        | Description |
| ----------- | ----------- |
| `"content"` |             |

## Dependencies

### Used by

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

### Graph

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

---

_Built with ITSI_
