Note: You are on the beta version of our docs. This is a work in progress and may contain broken links and pages.
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