You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`items`|`Array<any>`, `Ref<Array<any>>`, `ObservableArray<any>`| An array of items to be shown in the `<ListView>`.<br/> |
85
+
|`itemTemplateSelector`|`function(data:ListItem)`| A function to be called when selecting the template for the item. |
86
+
|`separatorColor`|`Color`| Sets the separator line color. Set to `transparent` to remove it. |
87
+
|`rowHeight`|`nubmer`| Gets or sets the row height of the ListView. Useful when your items have a fixed height, as the required calculations are greatly simplified and the rendering can be faster. |
88
+
|`iosEstimatedRowHeight`|`nubmer`, `string`| Gets or sets the estimated height of rows in the ListView. Default value: 44px. |
89
+
90
+
See the full documentation for [NativeScript ListView props.](https://docs.nativescript.org/ui/list-view#props)
87
91
88
92
## Template Scoped Slots
89
93
@@ -97,9 +101,15 @@ The template receives a `ListItem<T>` type object that is composed of the follow
|`itemTap`| Emitted when an item in the `ListView` is tapped. To access the tapped item, use `event.item`. |
107
+
|`itemLoading`| Emitted when the ListView is loading/recycling an item. args.view is set if the `ListView` is recycling an item, otherwise it's undefined. |
108
+
|`loadMoreItems`| Emitted when the user reaches the end of the `ListView`. Useful for loading additional items (ie. infinite scroll). |
109
+
|`itemTap`| Emitted when an item in the `<ListView>` is tapped. To access the tapped item, use `event.item`. |
110
+
|`itemTap`| Emitted when an item in the `<ListView>` is tapped. To access the tapped item, use `event.item`. |
111
+
112
+
See the full documentation for [NativeScript ListView events.](https://docs.nativescript.org/ui/list-view#events)
0 commit comments