1
0
Fork 0
docsearch/dev/app.js
maxiloc f0a7e6bc92 feat(v2): modification for v2 (#112)
- Add a no result screen. Fixes #92
- Change class prefix. Fixes #102
- Add a transformData option
- Add searchBox option
- Add a layout option
2016-06-14 16:54:48 +02:00

10 lines
227 B
JavaScript

import docsearch from '../index.js';
docsearch({
apiKey: 'e3d767b736584dbe6d4c35f7cf7d4633',
indexName: 'react-native',
inputSelector: '#search-input',
debug: true
});
document.getElementById('search-input').focus();