title: Vue - run method for every v-for item
body: <p>I loop through days in a calendar via v-for:</p>
  
  <p><code>&lt;ul&gt;&lt;li v-for="day in daysInMonth"&gt;&lt;/li&gt;&lt;/ul&gt;</code></p>
  
  <p>Over in Firebase, I have events stored. Each event has a date property:</p>
  
  <pre><code>eVeNtKeY
    date: 12/7/17
  </code></pre>
  
  <p>Now, each day won't have an event but I need to get an event count for each day. I downloaded all the event for the month via Firebase call and have it saved in the Vue <code>data</code> as an array <code>thisMonthsEvent</code>.</p>
  
  <pre><code>data: {
    thisMonthsEvents: [bunch of firebase data],
    currentMonth: number
  }
  </code></pre>
  
  <p>Is there a way to run a method for every repetition of the <code>v-for</code>? In my thinking, I could do something like this:</p>
  
  <pre><code>    computed: {
          eventsByDay () {
            return this.thisMonthsEvents.filter(function (event) {
              return event.date === this.currentMonth + '-' + Somehow get the day from loop + '-2017'
  });
          }
        }
  </code></pre>