A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.nativescript.org/api/class/VirtualArray below:

VirtualArray | API - NativeScript

Classes

VirtualArray

Advanced array like class that helps loading items on demand.

Summary Constructors Parameter Default Description length

number

Properties

String value used when hooking to change event.

itemsLoadingEvent: string

String value used when hooking to itemsLoading event.

Accessors

Gets or sets length for the virtual array.

Returns number

Methods
getItem(index: number): T
Parameter Default Description index

number

Returns T

load(index: number, items: T[]): void

Loads items from an array starting at index.

Parameter Default Description index

number

items

T[]

Returns void

setItem(index: number, value: T): void
Parameter Default Description index

number

value

T

Returns void


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4