title: Vue.js get element by id/ref
body: <p>I have a custom component called 'menu-entry':</p>
  
  <pre><code>&lt;menu-entry v-for="field in fields" :id:"field.id" :ref="field.id" v-bind:key="field.id" v-bind:class="[classArray]" v-bind:field="field" v-on:clicked="menuEntryClicked"&gt;
  &lt;/menu-entry&gt;
  </code></pre>
  
  <p>I need to get one of them (for example field.id = 2) and remove an item from the classArray.
  this.$refs[2] is working for HTML elements, but not for custom elements.
  this.$el.querySelector isnt working either.</p>
  
  <p>is there another way to remove an item from the classArray of a specific element?</p>