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, and this page is available as Markdown at /next/zh/api/packages/testing-environment/interfaces/LynxElement.md.
Lynx
  • 简体中文
  • 接口: LynxElement

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

    Lynx Spec Reference

    继承

    • HTMLElement

    属性

    cssId?

    optional cssId?: string

    元素的 cssId


    eventMap?

    optional eventMap?: object

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

    索引签名

    [key: string]: any


    firstChild

    firstChild: LynxElement

    返回第一个子节点。

    MDN Reference

    重写了

    HTMLElement.firstChild


    gesture?

    optional gesture?: object

    绑定到该元素的手势。

    索引签名

    [key: string]: any


    nextSibling

    nextSibling: LynxElement

    返回下一个兄弟节点。

    MDN Reference

    重写了

    HTMLElement.nextSibling


    parentNode

    parentNode: LynxElement

    返回父节点。

    MDN Reference

    重写了

    HTMLElement.parentNode

    除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。