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

Merge pull request #332 from skojin/on-change-fix

on-change docs fix
This commit is contained in:
Jeff
2017-11-14 14:50:08 -08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -122,7 +122,7 @@
</div>
<div class="col-md-6">
<pre><v-code lang="markup">&#x3C;v-select v-on:change=&#x22;consoleCallback&#x22; :options=&#x22;countries&#x22;&#x3E;&#x3C;/v-select&#x3E;</v-code></pre>
<pre><v-code lang="markup">&#x3C;v-select :on-change=&#x22;consoleCallback&#x22; :options=&#x22;countries&#x22;&#x3E;&#x3C;/v-select&#x3E;</v-code></pre>
<pre><v-code lang="javascript">methods: {
consoleCallback(val) {
console.dir(JSON.stringify(val))
+1 -1
View File
@@ -10,7 +10,7 @@ This is very useful when integrating with Vuex, as it will allow your to trigger
</div>
```html
<v-select v-on:change="consoleCallback" :options="countries"></v-select>
<v-select :on-change="consoleCallback" :options="countries"></v-select>
```
```js