Vue.js: Trigger an @click on child component from parent component in
<p>I have a template with several divs, each containing an @click that triggers a specific function and a corresponding visual effect</p>

<pre><code>&lt;template&gt;
    &lt;div @click="function doThis(param1)&gt;&lt;/div&gt;
    &lt;div @click="function doThis(param2)&gt;&lt;/div&gt;
    &lt;div @click="function doThis(param3)&gt;&lt;/div&gt;
    &lt;div @click="function doThis(param4)&gt;&lt;/div&gt;
    &lt;div @click="function doThis(param5)&gt;&lt;/div&gt;
&lt;/template&gt;

method: {
    doThis(param) {
        lightUpDiv(corresponding param)
    }
}
</code></pre>

<p>I'm also calling doThis from the parent via a $broadcast.  What if any, is the best Vueish way to trigger the corresponding lightUpDiv call from the $broadcast?  (just use getElementById and .click()???). I used individual divs vs a v-for in the hope that this is easier.  </p>

<p>I should note that there are several instances of the template On the page.  Even if the same visual effect is caused simultaneously on all the templates that is fine.  If there is a way to call them on the specific template instances that is even better.  </p>

<p>I've spent hours trying to figure this out and cannot seem to do it.  Have read all the guide and API.  I know there is some way to bind the data to make the template instances unique but can't seem to get it.  Definitely couldn't see the @click from $broadcast solution</p>

<p>Thanks for any help!!</p>