Class enchant.widget.LazyListItem
- Defined in: widget.enchant.js
- Extends enchant.widget.ListItem
Constructor Attributes | Constructor Name and Description |
---|---|
LazyListItem is a class which can be used in an enchant.widget.LazyListView instance
to enable the lazy loading of the content of a list item.
|
- Fields borrowed from class enchant.Entity:
- backgroundColor, buttonMode, buttonPressed, compositeOperation, debugColor, opacity, originX, originY, rotation, scaleX, scaleY, touchEnabled, visible
- Fields borrowed from class enchant.Node:
- age, parentNode, scene, x, y
Method Summary
- Methods borrowed from class enchant.Entity:
- disableCollection
- enableCollection
- intersect
- rotate
- scale
- within
- Methods borrowed from class enchant.Node:
- moveBy
- moveTo
- Methods borrowed from class enchant.EventTarget:
- addEventListener
- clearEventListener
- dispatchEvent
- on
- removeEventListener
Class Detail
enchant.widget.LazyListItem()
LazyListItem is a class which can be used in an enchant.widget.LazyListView instance
to enable the lazy loading of the content of a list item.
The LazyListView instance will call the loadResources function of the LazyListItem instance
when it feels like the content will be required soon.
Implementors must implement the loadResources function.
See the LazyListView example of enchant.js (examples/plugins/widget/LazyListView/).