7 months ago

jquery event for child element

Posted 7 months ago by mihirpatel83
<a v-for="thread in threads" :id="'eThread_'+thread.threadId" href="javascript:void(0);" @click="fetchEmails(thread.threadId)">
    <h6> Subject of email</h6>
    <span :id="'setLinks_14_'+thread.threadId"><i class="fa fa-external-link"></i></span>

I want to capture the click event for id "setLinks*" using jquery. But clicking on it fires vuejs click function. What I want to do is capturing event for child elements using jquery. Reason for doing so it, I am new to VueJS and don't want to waste time in implementing modal, tinymce field, select2 library etc using proper Vue approach. I would rather keep those working with jquery owing to time constraint.

Please sign in or create an account to participate in this conversation.