I have in my main component one custom component and I need to fire a custom event on click, I tried it in this way:
<child-component @click="fireCustomEvent"></child-component>
This does not work and I tried to solve this problem with adding @click.native
<child-component @click.native="fireCustomEvent"></child-component>
With .native it works but it fires the event every time if I click inside my "child-component".
Can I avoid somehow to fire this event again if I click inside "child-component"?
<child-component>.