Classes
VirtualArray
VirtualArray
Advanced array like class that helps loading items on demand.
Summary
Constructors
Constructors
constructor
new VirtualArray<T>(length?: number): VirtualArray<T>
Parameter | Default | Description |
length |
| number |
Returns VirtualArray<T>
Properties
changeEvent
Static
String value used when hooking to change event.
itemsLoadingEvent
Static
String value used when hooking to itemsLoading event.
Accessors
length
Gets or sets length for the virtual array.
Returns number
loadSize
Returns number
Methods
getItem
Parameter | Default | Description |
index |
| number |
Returns T
load
Loads items from an array starting at index.
Parameter | Default | Description |
index |
| number |
items |
| T[] |
Returns void
setItem
Parameter | Default | Description |
index |
| number |
value |
| T |
Returns void
- Previous
- ViewHelper
- Next
- WebView