Fuse/docs/api/config.md
Kiro Risk a94c2476cd docs(site): add donate button
Moved donate button to appear at footer
2021-01-01 18:58:04 -08:00

19 lines
395 B
Markdown

# Global config
You can access all [options](/api/options.html) above via `Fuse.config`. This is useful if you want to override default options for all Fuse instances.
**Example**:
```js
const options = {
getFn: (obj, path) => {
// Use the default `get` function
const value = Fuse.config.getFn(obj, path)
// ... do something with `value`
return value
}
}
```
<Donate />