Home > @lynx-js/test-environment > LynxElement

LynxElement interface

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

Lynx Spec Reference

Signature:

export interface LynxElement extends HTMLElement

Extends: HTMLElement

Properties

Property Modifiers Type Description
cssId? string (Optional) The cssId of the element
eventMap? { [key: string]: any; } (Optional) The map of events bound to the element.
firstChild LynxElement Returns the first child.MDN Reference
gesture? { [key: string]: any; } (Optional) The gestures bound to the element.
nextSibling LynxElement Returns the next sibling.MDN Reference
parentNode LynxElement Returns the parent.MDN Reference
除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。