From 74df1163f32cc310bbf3664a742293289cbef951 Mon Sep 17 00:00:00 2001 From: anuj Date: Tue, 15 Oct 2019 11:17:11 +0530 Subject: [PATCH] feat(web): adds 'Object' type for scrollTarget prop of ReactiveList --- content/docs/reactivesearch/v3/result/reactivelist.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/docs/reactivesearch/v3/result/reactivelist.md b/content/docs/reactivesearch/v3/result/reactivelist.md index fdb23bd5a..b6373db98 100644 --- a/content/docs/reactivesearch/v3/result/reactivelist.md +++ b/content/docs/reactivesearch/v3/result/reactivelist.md @@ -72,8 +72,8 @@ Example uses: fields to be included in search results. - **stream** `Boolean` [optional] whether to stream new result updates in the UI. Defaults to `false`. `stream: true` is appended to the streaming hit objects, which can be used to selectively react to streaming changes (eg. showing fade in animation on new streaming hits, Twitter/Facebook like streams, showing the count of new feed items available like _2 New Tweets_) -- **scrollTarget** `String` [optional] - accepts `id` of the container you wish to apply infinite loading on. **Note:** The container should be scrollable. +- **scrollTarget** `String` or `Object` [optional] + accepts `id` or the dom node of the container you wish to apply infinite loading on. **Note:** The container should be scrollable. - **scrollOnChange** `Boolean` [optional] Enables you to customise the window scrolling experience on query change. Defaults to `true` i.e. The window will scroll to top in case of the query change, which can be triggered by change in pagination, change in filters or search value, etc. When set to `false`, scroll position will stay intact. - **pagination** `Boolean` [optional]