lynx-testing-environment / initElementTree
object
| Parameter | Type |
|---|---|
e | LynxElement |
key | string |
value | string |
void
| Parameter | Type |
|---|---|
e | LynxElement |
eventType | string |
eventName | string |
eventHandler | string | Record<string, any> |
void
| Parameter | Type |
|---|---|
e | HTMLElement |
key | number |
value | string |
void
| Parameter | Type |
|---|---|
parent | LynxElement |
child | LynxElement |
void
| Parameter | Type |
|---|---|
tag | string |
parentComponentUniqueId | number |
| Parameter | Type |
|---|---|
parentComponentUniqueId | number |
| Parameter | Type |
|---|---|
parentComponentUniqueId | number |
componentAtIndex | any |
enqueueComponent | any |
| Parameter | Type |
|---|---|
_tag | string |
parentComponentUniqueId | number |
| Parameter | Type |
|---|---|
text | string |
| Parameter | Type |
|---|---|
parentComponentUniqueId | number |
| Parameter | Type |
|---|---|
parentComponentUniqueId | number |
| Parameter | Type |
|---|---|
parentComponentUniqueId | number |
| Parameter | Type |
|---|---|
parentComponentUniqueId | number |
| Parameter | Type |
|---|---|
e | LynxElement |
void
| Parameter | Type |
|---|---|
ele | LynxElement |
name | string |
null | string
| Parameter | Type |
|---|---|
e | LynxElement |
DOMStringMap
| Parameter | Type |
|---|---|
uniqueId | number |
undefined | LynxElement
| Parameter | Type |
|---|---|
e | LynxElement |
number
| Parameter | Type |
|---|---|
e | LynxElement |
eventType | string |
eventName | string |
undefined | object
| Parameter | Type |
|---|---|
ele | LynxElement |
string
| Parameter | Type |
|---|---|
parent | LynxElement |
child | LynxElement |
ref? | LynxElement |
void
| Parameter | Type |
|---|---|
parent | LynxElement |
child | LynxElement |
void
| Parameter | Type |
|---|---|
newElement | LynxElement |
oldElement | LynxElement |
void
| Parameter | Type |
|---|---|
e | LynxElement |
key | string |
value | any |
void
| Parameter | Type |
|---|---|
e | LynxElement |
cls | string |
void
| Parameter | Type |
|---|---|
e | LynxElement | LynxElement[] |
id | string |
entryName? | string |
void
| Parameter | Type |
|---|---|
e | LynxElement |
dataset | any |
void
| Parameter | Type |
|---|---|
e | LynxElement |
id | number |
type | number |
config | any |
relationMap | Record<string, number[]> |
void
| Parameter | Type |
|---|---|
e | LynxElement |
id | string |
void
| Parameter | Type |
|---|---|
e | LynxElement |
styles | string | Record<string, string> |
void
| Parameter | Type |
|---|---|
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
| Parameter | Type |
|---|---|
_list | LynxElement |
_components | string[] |
void
void
| Parameter | Type |
|---|---|
element | LynxElement |
parentComponentUniqueId | number |
void
Enter a list-item element at the given index.
It will load the list-item element using the componentAtIndex callback.
| Parameter | Type | Description |
|---|---|---|
e | LynxElement | The list element |
index | number | The index of the list-item element |
...args | any[] | The arguments used to create the list-item element |
number
The unique id of the list-item element
Leave a list-item element.
It will mark the list-item element as unused using
the enqueueComponent callback, and the list-item element
will be reused in the future by other list-item elements.
| Parameter | Type | Description |
|---|---|---|
e | LynxElement | The list element |
uiSign | number | The unique id of the list-item element |
void
undefined | LynxElement
undefined | LynxElement
lynx/ElementPAPI.d.ts:47