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 许可协议进行许可。