mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Reference Stork Configuration Docs
This commit is contained in:
parent
12d62f6e85
commit
3b60fef8cb
1 changed files with 7 additions and 2 deletions
|
|
@ -10,8 +10,13 @@ export class StorkClient {
|
|||
this.name = options.name || 'index'
|
||||
this.url = options.url || storkIndexRelativeURL
|
||||
|
||||
// Configuration - https://github.com/jameslittle230/stork/blob/ff49f163db06734e18ab690c188b45a3c68442ae/js/config.ts#L4
|
||||
this.config = options.config || {}
|
||||
// Configuration Reference - https://stork-search.net/docs/js-ref#showProgress
|
||||
// Example - https://github.com/jameslittle230/stork/blob/ff49f163db06734e18ab690c188b45a3c68442ae/js/config.ts#L4
|
||||
this.config = {
|
||||
minimumQueryLength: 1,
|
||||
showScores: true,
|
||||
...options.config || {}
|
||||
}
|
||||
|
||||
// Stork instance
|
||||
this.stork = options.stork || null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue