mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-17 21:16:34 +02:00
feat: documented config defaults
This commit is contained in:
parent
3222858276
commit
c04cadc629
|
@ -221,6 +221,13 @@ Choices works with the following input types, referenced in the documentation as
|
||||||
|
|
||||||
## Configuration Options
|
## Configuration Options
|
||||||
|
|
||||||
|
If you want to set global defaults for all instances of Choices, you can use the `Choices.defaults.options` object.
|
||||||
|
This works with every option.
|
||||||
|
|
||||||
|
```js
|
||||||
|
Choices.defaults.options.noResultsText = 'No results found';
|
||||||
|
```
|
||||||
|
|
||||||
### silent
|
### silent
|
||||||
|
|
||||||
**Type:** `Boolean` **Default:** `false`
|
**Type:** `Boolean` **Default:** `false`
|
||||||
|
|
Loading…
Reference in a new issue