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
Copy file name to clipboardExpand all lines: docs/content/1.getting-started/3.usage.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,15 +103,15 @@ onMounted(async () => {
103
103
})
104
104
</script>
105
105
```
106
-
107
-
This composable accepts an optional key parameter:
108
-
109
-
*`key` - if you need multiple useAlgoliaRecommend calls, add a unique key to get passed to the userState('recommend-result') underneath, so new calls won't overwrite old data.
110
-
106
+
This composable returns the following:
111
107
112
108
*`result` will contain a value of a get method. It is reactive computed property that will be populated when a get method will fulfill. This result will have a form described [here](https://www.algolia.com/doc/api-reference/api-methods/get-recommendations/#response)
113
109
*`get` method is used to get the recommendations based on the criteria described [here](https://www.algolia.com/doc/api-reference/api-methods/get-recommendations/#parameters) and an optional parameter of `requestOptions` that you can check out [here](https://www.algolia.com/doc/api-reference/api-methods/search/#method-param-requestoptions)
114
110
111
+
This composable also accepts an optional key parameter:
112
+
113
+
*`key` - if you need multiple useAlgoliaRecommend calls, add a unique key to get passed to the userState('recommend-result') underneath, so new calls won't overwrite old data.
114
+
115
115
For more details check out the official documentation of this method [here](https://www.algolia.com/doc/api-reference/api-methods/get-recommendations/)
0 commit comments