lynx-testing-environment / initElementTree
函数: initElementTree()
返回
object
root
__AddDataset()
参数
返回
void
__AddEvent()
参数
返回
void
__AddInlineStyle()
参数
返回
void
__AppendElement()
参数
返回
void
__CreateElement()
参数
返回
__CreateImage()
参数
返回
__CreateList()
参数
返回
__CreatePage()
参数
返回
__CreateRawText()
参数
返回
__CreateScrollView()
参数
返回
__CreateText()
参数
返回
__CreateView()
参数
返回
__CreateWrapperElement()
参数
返回
__FirstElement()
参数
返回
__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()
参数
返回
void
__SetID()
参数
返回
void
__SetInlineStyles()
参数
返回
void
__UpdateListCallbacks()
参数
返回
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.
参数
返回
number
The unique id of the list-item element
leaveListItem()
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.
参数
返回
void
toJSON()
返回
undefined | LynxElement
toTree()
返回
undefined | LynxElement
定义于
lynx/ElementPAPI.d.ts:47