title: Accessing siblings elements in a v-for
body: <p>New to Vuejs 2, need a bit of help to understand how this would be done.</p>
  
  <p>So, I have a template that looks like the following:</p>
  
  <pre><code>&lt;template&gt;
      &lt;div class="wrapper"&gt;
          &lt;div class="item" v-for="item in items"&gt;
              &lt;div class="item"&gt;
                  &lt;div class="title"&gt;{{ item.title }}&lt;/div&gt;
                  &lt;div class="action"&gt;
                      &lt;a href="#" @click.prevent="editSettings(item, $event)"&gt;
                          Click Me
                      &lt;/a&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;div v-if="showSettings" class="settings"&gt;
                  &lt;!-- Settings component for this item. --&gt;
                  &lt;settings-panel item="item"&gt;&lt;/settings-panel&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/template&gt;
  </code></pre>
  
  <p>The scripts looks like this:</p>
  
  <pre><code>export default {
      data() {
          return {
              items: [
                  // This data is from an API usually and only
                  // shown here for example purposes
                  { id: 1, title: 'Title 1' },
                  { id: 2, title: 'Title 2' },
                  { id: 3, title: 'Title 3' },
                  { id: 4, title: 'Title 4' }
              ],
              showSettings: false
          };
      },
      methods: {
          editSettings(item, event) {
              // Only show the clicked items settings, not all
              this.showSettings = !showSettings;
          }
      }
  }
  </code></pre>
  
  <p>What is the easiest and cleanest approach to only showing the settings panel for the clicked item?  Right now, if I click the <code>Click Me</code> settings, all settings open up. The <code>data</code> listed in the code is only there for example, but is coming from an API so I don't have much to do with the manipulation of that data.</p>
  
  <p>Can anyone help lead me in the right direction?</p>