mirror of
https://github.com/tenrok/vue-select.git
synced 2026-05-17 02:29:37 +03:00
7e859dca18
- adjust default codepen theme - update github edit base - doc content overhaul up to localization
17 lines
477 B
Markdown
17 lines
477 B
Markdown
All of the text within the component has been wrapped within [slots](https://vuejs.org/v2/guide/components.html#Content-Distribution-with-Slots) and can be replaced in your app.
|
|
|
|
#### Loading Spinner
|
|
|
|
```html
|
|
<slot name="spinner">
|
|
<div class="spinner" v-show="mutableLoading">Loading...</div>
|
|
</slot>
|
|
```
|
|
|
|
#### No Options Text
|
|
|
|
```html
|
|
<slot name="no-options">Sorry, no matching options.</slot>
|
|
```
|
|
|
|
For a full list of component slots, view the [slots API docs](Api/Slots.md). |