2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-06-19 09:50:33 +03:00

Merge pull request #110 from tarsislima/fixed-onchange-example

Fixed syntax of example on-change callback
This commit is contained in:
Jeff
2016-12-07 08:39:44 -08:00
committed by GitHub
+1 -1
View File
@@ -122,7 +122,7 @@
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<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="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: { <pre><v-code lang="javascript">methods: {
consoleCallback(val) { consoleCallback(val) {
console.dir(JSON.stringify(val)) console.dir(JSON.stringify(val))