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/lynx-testing-environment/Interface.LynxElement.md.
Lynx
  • 简体中文
  • lynx-testing-environment / LynxElement

    LynxElement

    Any Lynx Element, such as view, text, image, etc.

    Lynx Spec Reference

    继承

    • HTMLElement

    属性

    cssId?

    optional cssId: string;

    The cssId of the element

    定义于

    lynx/ElementPAPI.d.ts:24


    eventMap?

    optional eventMap: object;

    The map of events bound to the element.

    索引签名

    [key: string]: any

    定义于

    lynx/ElementPAPI.d.ts:12


    firstChild

    firstChild: LynxElement;

    Returns the first child.

    MDN Reference

    定义于

    lynx/ElementPAPI.d.ts:30


    gesture?

    optional gesture: object;

    The gestures bound to the element.

    索引签名

    [key: string]: any

    定义于

    lynx/ElementPAPI.d.ts:18


    nextSibling

    nextSibling: LynxElement;

    Returns the next sibling.

    MDN Reference

    定义于

    lynx/ElementPAPI.d.ts:36


    parentNode

    parentNode: LynxElement;

    Returns the parent.

    MDN Reference

    定义于

    lynx/ElementPAPI.d.ts:42

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