2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-05-23 03:54:04 +03:00

Merge branch 'master' into master

This commit is contained in:
Jeff
2017-10-01 13:37:43 -07:00
committed by GitHub
6 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ You may now use the component in your markup
Just include `vue` & `vue-select.js` - I recommend using [unpkg](https://unpkg.com/#/).
```html
<script scr="https://unpkg.com/vue@latest"></script>
<script src="https://unpkg.com/vue@latest"></script>
<!-- use the latest release -->
<script src="https://unpkg.com/vue-select@latest"></script>
<!-- or point to a specific release -->
+1 -1
View File
@@ -46,7 +46,7 @@
<div class="radio">
<label>
<input type="radio" name="reactive-options" v-model="reactive" :value="['foo','bar','baz']">
<v-code lang="markup">&#x3C;v-select options=&#x22;['foo','bar','baz']&#x22;&#x3E;&#x3C;/v-select&#x3E;</v-code>
<v-code lang="markup">&#x3C;v-select :options=&#x22;['foo','bar','baz']&#x22;&#x3E;&#x3C;/v-select&#x3E;</v-code>
</label>
</div>
</div>
+1 -1
View File
@@ -1,7 +1,7 @@
<template>
<div>
<p>Install from GitHub via NPM</p>
<pre><v-code lang="bash">npm install sagalbot/vue-select</v-code></pre>
<pre><v-code lang="bash">npm install vue-select</v-code></pre>
<p>To use the vue-select component in your templates, simply import it, and register it with your component.</p>
<pre><v-code lang="markup">&#x3C;template&#x3E;
+1 -1
View File
@@ -12,7 +12,7 @@ When the list of options provided by the parent changes, vue-select will react a
<div class="radio">
<label>
<input type="radio" name="reactive-options" v-model="reactive" :value="['foo','bar','baz']">
`<v-select options="['foo','bar','baz']"></v-select>`
`<v-select :options="['foo','bar','baz']"></v-select>`
</label>
</div>
+1
View File
@@ -7,6 +7,7 @@
"main": "dist/vue-select.js",
"license": "MIT",
"scripts": {
"start": "npm run dev",
"dev": "node build/dev-server.js",
"dev:docs": "node build/dev-server.js --docs",
"build": "node build/build.js",
+2 -1
View File
@@ -273,7 +273,7 @@
<slot name="selected-option" v-bind="option">
{{ getOptionLabel(option) }}
</slot>
<button v-if="multiple" @click="deselect(option)" type="button" class="close">
<button v-if="multiple" @click="deselect(option)" type="button" class="close" aria-label="Remove option">
<span aria-hidden="true">&times;</span>
</button>
</span>
@@ -294,6 +294,7 @@
:readonly="!searchable"
:style="{ width: isValueEmpty ? '100%' : 'auto' }"
:id="inputId"
aria-label="Search for option"
>
<i v-if="!noDrop" ref="openIndicator" role="presentation" class="open-indicator"></i>