Preview 2.0 is now in Public Beta!
Read the Announcement
ListView

Summary

Constructors

constructor

Properties

android
ios
iosEstimatedRowHeight
itemIdGenerator
itemLoadingEvent
items
itemTapEvent
itemTemplate
itemTemplates
itemTemplateSelector
loadMoreItemsEvent
rowHeight
separatorColor
162 properties inherited from View
Click to expand

Methods

isItemAtIndexVisible
on
refresh
scrollToIndex
scrollToIndexAnimated
125 methods inherited from View
Click to expand

Constructors

constructor

new ListView(): ListView

Properties

android

iosEstimatedRowHeight

itemIdGenerator

itemIdGenerator: (item: any, index: number, items: any) => number

itemTemplate

itemTemplateSelector

itemTemplateSelector: string | (item: any, index: number, items: any) => string

itemTemplates

separatorColor

itemLoadingEvent

Static
itemLoadingEvent: string

itemTapEvent

Static
itemTapEvent: string

loadMoreItemsEvent

Static
loadMoreItemsEvent: string

Methods

isItemAtIndexVisible

isItemAtIndexVisible(index: number): boolean
Parameter Default Description
index
number

Returns boolean

on

on(eventNames: string, callback: (data: EventData) => void, thisArg?: any): any
Parameter Default Description
eventNames
string

callback
(data: EventData) => void

thisArg
any

Returns any
on(event: "itemLoading", callback: (args: ItemEventData) => void, thisArg?: any): any
Parameter Default Description
event
"itemLoading"

callback
(args: ItemEventData) => void

thisArg
any

Returns any
on(event: "itemTap", callback: (args: ItemEventData) => void, thisArg?: any): any
Parameter Default Description
event
"itemTap"

callback
(args: ItemEventData) => void

thisArg
any

Returns any
on(event: "loadMoreItems", callback: (args: EventData) => void, thisArg?: any): any
Parameter Default Description
event
"loadMoreItems"

callback
(args: EventData) => void

thisArg
any

Returns any

refresh

refresh(): any

scrollToIndex

scrollToIndex(index: number): any
Parameter Default Description
index
number

Returns any

scrollToIndexAnimated

scrollToIndexAnimated(index: number): any
Parameter Default Description
index
number

Returns any
Previous
ListPicker