Note: You are on the beta version of our docs. This is a work in progress and may contain broken links and pages.
Classes
Repeater
Repeater
Represents a UI Repeater component.
Summary
Constructors
Properties
152 properties inherited from CustomLayoutView
Click to expand
Accessors
11 accessors inherited from CustomLayoutView
Click to expand
Methods
108 methods inherited from CustomLayoutView
Click to expand
Constructors
Properties
android
ios
itemTemplates
itemTemplates: string | KeyedTemplate[]
Gets or set the item templates of the Repeater.
items
Gets or set the items collection of the Repeater.
The items property can be set to an array or an object defining length and getItem(index) method.
itemsLayout
itemsLayout: LayoutBase
Gets or set the items layout of the Repeater. Default value is StackLayout with orientation="vertical".
knownFunctions
Static
Accessors
_childrenCount
Returns number
itemTemplateSelector
Returns string | (item: any, index: number, items: any) => string
Methods
_getDefaultItemContent
_onItemsChanged
_onItemsChanged(data: ChangedData<any>): void
Parameter | Default | Description |
data |
| ChangedData<any> |
Returns void
_requestRefresh
Returns void
eachChildView
onLayout
Parameter | Default | Description |
left |
| number |
top |
| number |
right |
| number |
bottom |
| number |
Returns void
onLoaded
Returns void
onMeasure
Parameter | Default | Description |
widthMeasureSpec |
| number |
heightMeasureSpec |
| number |
Returns void
refresh
Forces the Repeater to reload all its items.
Returns void
- Previous
- ProxyViewContainer
- Next
- RootLayout