We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f58dde commit d7a8cf6Copy full SHA for d7a8cf6
src/main.js
@@ -17,12 +17,14 @@ document.addEventListener('DOMContentLoaded', () => {
17
},
18
mounted() {
19
const selector = document.querySelector('.docSearch-input')
20
+ const lang = document.documentElement.lang || 'en'
21
22
docsearch({
23
apiKey: '31f842779e5b33726ec73f8f973b2202',
24
indexName: 'nativescript-vue',
25
inputSelector: selector,
- debug: true // Set debug to true if you want to inspect the dropdown
26
+ algoliaOptions: {facetFilters: [`lang:${lang}`]},
27
+ debug: false
28
})
29
30
destroyed() {
0 commit comments