Home > @lynx-js/test-environment > LynxElement
Any Lynx Element, such as view
, text
, image
, etc.
Signature:
Extends: HTMLElement
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 |