title: How to get index of selected option with vue.js
body: <p>Sorry for newbie question.
  But how can i get an index of selected element from selectbox and run a function. My code below doesn't trigger switchView() function. </p>
  
  <pre><code>&lt;select id="selectbox" @change="switchView(index)"&gt;
    &lt;option [v-for="(item, index) in items" v-bind:value="item.title"]&gt;
      {{ item.title }}
    &lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>any help will be appreciated.</p>
  
  <p><strong>EDITED:</strong>
  moved <code>@change="switchView(index)"</code> from <code>&lt;option&gt;</code> to <code>&lt;select&gt;</code>, thanks to @Phil</p>
  
  <p>I need index, because i have several calculated items. And i need change view according to user's selection from items.</p>