Documentation generator: JsDoc Toolkit 2.4.0
Template: Codeview 1.2
Generated on: 2016-0-4 21:23

Class enchant.widget.LazyListView

Class Summary
Constructor Attributes Constructor Name and Description
 
LazyListView is a class which enables a ListView to load the content of it's child ListItems lazily by using enchant.widget.LazyListItem (s).
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

Class Detail

enchant.widget.LazyListView()
LazyListView is a class which enables a ListView to load the content of it's child ListItems lazily by using enchant.widget.LazyListItem (s). It is also possible to use regular ListItems which will behave like if they where added to a ListView (therefore, no lazy initialization). Furthermore, this LazyListView will dispatch an enchant.Event.CONTENT_REQUESTED event when the ListView feels like the available content is not sufficient. The enchant.Event.CONTENT_REQUESTED can be used to add new items to the LazyListView. See the LazyListView example of enchant.js (examples/plugins/widget/LazyListView/).
See:
enchant.widget.ListView
enchant.widget.LazyListItem