> For AI agents: the complete documentation index is available at /next/zh/llms.txt, the full documentation bundle is available at /next/zh/llms-full.txt.

# Interface: LynxElement

任意 Lynx 元素，例如 `view`、`text`、`image` 等。

[Lynx Spec Reference](https://lynxjs.org/living-spec/index.html?ts=1743416098203#element%E2%91%A0)

## Extends

- `HTMLElement`

## Properties

### cssId?

> `optional` **cssId?**: `string`

元素的 cssId

***

### eventMap?

> `optional` **eventMap?**: `object`

绑定到该元素的事件映射表。

#### Index Signature

\[`key`: `string`]: `any`

***

### firstChild

> **firstChild**: `LynxElement`

返回第一个子节点。

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/firstChild)

#### Overrides

`HTMLElement.firstChild`

***

### gesture?

> `optional` **gesture?**: `object`

绑定到该元素的手势。

#### Index Signature

\[`key`: `string`]: `any`

***

### nextSibling

> **nextSibling**: `LynxElement`

返回下一个兄弟节点。

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/nextSibling)

#### Overrides

`HTMLElement.nextSibling`

***

### parentNode

> **parentNode**: `LynxElement`

返回父节点。

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/parentNode)

#### Overrides

`HTMLElement.parentNode`
