mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-22 10:30:34 +03:00
docs: removing duplicate search doc (#1591)
This commit is contained in:
@@ -114,21 +114,3 @@ event is triggered.
|
|||||||
```js
|
```js
|
||||||
this.$emit("search:focus");
|
this.$emit("search:focus");
|
||||||
```
|
```
|
||||||
|
|
||||||
## `search`
|
|
||||||
|
|
||||||
Triggered when the search text changes.
|
|
||||||
|
|
||||||
```js
|
|
||||||
/**
|
|
||||||
* Anytime the search string changes, emit the
|
|
||||||
* 'search' event. The event is passed with two
|
|
||||||
* parameters: the search string, and a function
|
|
||||||
* that accepts a boolean parameter to toggle the
|
|
||||||
* loading state.
|
|
||||||
*
|
|
||||||
* @emits search
|
|
||||||
*/
|
|
||||||
this.$emit('search', newSearchString, toggleLoading);
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user