lynx-testing-environment / initElementTree
函数: initElementTree()
function initElementTree(): object
返回
object
root
root: undefined | LynxElement;
__AddDataset()
参数
返回
void
__AddEvent()
参数
| 范围 | 类型 |
|---|
e | LynxElement |
eventType | string |
eventName | string |
eventHandler | string | Record<string, any> |
返回
void
__AddInlineStyle()
参数
| 范围 | 类型 |
|---|
e | HTMLElement |
key | number |
value | string |
返回
void
__AppendElement()
参数
返回
void
__CreateElement()
参数
| 范围 | 类型 |
|---|
tag | string |
parentComponentUniqueId | number |
返回
LynxElement
__CreateImage()
参数
| 范围 | 类型 |
|---|
parentComponentUniqueId | number |
返回
LynxElement
__CreateList()
参数
| 范围 | 类型 |
|---|
parentComponentUniqueId | number |
componentAtIndex | any |
enqueueComponent | any |
返回
LynxElement
__CreatePage()
参数
| 范围 | 类型 |
|---|
_tag | string |
parentComponentUniqueId | number |
返回
LynxElement
__CreateRawText()
参数
返回
LynxElement
参数
| 范围 | 类型 |
|---|
parentComponentUniqueId | number |
返回
LynxElement
__CreateText()
参数
| 范围 | 类型 |
|---|
parentComponentUniqueId | number |
返回
LynxElement
__CreateView()
参数
| 范围 | 类型 |
|---|
parentComponentUniqueId | number |
返回
LynxElement
__CreateWrapperElement()
参数
| 范围 | 类型 |
|---|
parentComponentUniqueId | number |
返回
LynxElement
__FirstElement()
参数
返回
LynxElement
__FlushElementTree()
返回
void
__GetAttributeByName()
参数
返回
null | string
__GetDataset()
参数
返回
DOMStringMap
__GetElementByUniqueId()
参数
返回
undefined | LynxElement
__GetElementUniqueID()
参数
返回
number
__GetEvent()
参数
返回
undefined | object
__GetTag()
参数
返回
string
__InsertElementBefore()
参数
返回
void
__RemoveElement()
参数
返回
void
__ReplaceElement()
参数
返回
void
__SetAttribute()
参数
返回
void
__SetClasses()
参数
返回
void
__SetCSSId()
参数
返回
void
__SetDataset()
参数
返回
void
__SetGestureDetector()
参数
| 范围 | 类型 |
|---|
e | LynxElement |
id | number |
type | number |
config | any |
relationMap | Record<string, number[]> |
返回
void
__SetID()
参数
返回
void
__SetInlineStyles()
参数
返回
void
__UpdateListCallbacks()
参数
| 范围 | 类型 |
|---|
list | LynxElement |
componentAtIndex | (list: LynxElement, listID: number, cellIndex: number, operationID: number, enable_reuse_notification: boolean) => void |
enqueueComponent | (list: LynxElement, listID: number, sign: number) => void |
返回
void
__UpdateListComponents()
参数
返回
void
clear()
返回
void
countElement()
参数
返回
void
enterListItemAtIndex()
Enter a list-item element at the given index.
It will load the list-item element using the componentAtIndex callback.
参数