mirror of
https://github.com/tenrok/vue-select.git
synced 2026-05-20 03:09:36 +03:00
201e135964
- separate environment for developing docs - clear out discarded couscous files - start converting docs markdown
25 lines
489 B
Markdown
25 lines
489 B
Markdown
```js
|
|
/**
|
|
* Accept a callback function that will be run
|
|
* when the search text changes. The callback
|
|
* will be invoked with these parameters:
|
|
|
|
* @param {search} String Current search text
|
|
* @param {loading} Function(bool) Toggle loading class
|
|
*/
|
|
onSearch: {
|
|
type: Function,
|
|
default: false
|
|
},
|
|
|
|
/**
|
|
* Milliseconds to wait before invoking this.onSearch().
|
|
* Used to prevent sending an AJAX request until input
|
|
* has completed.
|
|
*/
|
|
debounce: {
|
|
type: Number,
|
|
default: 0
|
|
}
|
|
```
|