From 6941c70d3bcbbee714c0f1790b579266988fab38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felipe=20L=C3=BCbe=20de=20Bragan=C3=A7a?= Date: Tue, 15 Oct 2019 00:02:04 -0300 Subject: [PATCH] feat(web): adds 'Object' type for scrollTarget prop of ReactiveList --- content/docs/result-components/ReactiveList.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/docs/result-components/ReactiveList.md b/content/docs/result-components/ReactiveList.md index e9511dc1f..951d7647c 100644 --- a/content/docs/result-components/ReactiveList.md +++ b/content/docs/result-components/ReactiveList.md @@ -77,8 +77,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]