Hi there, I am facing an issue where appending a custom button to a full calendar event is not working properly with Vue.js methods.
It works fine with core JavaScript, but I really want it to work with Vue.js methods. Any ideas on how I can achieve this?
Here is the code snippet I am currently using:
eventRender(info) {
$(info.el).find(".fc-content").append(`
<div class="btn-group" role="group" style=" float: right; top: 10px; right: 10px; margin: 0; padding: 0; position: absolute; ">
<button @click="vuejsMehtodName('Unpaid')" type="button" class="btn btn-sm btn-default btn-secondary">Unpaid</button>
<button @click="vuejsMehtodName('Unseen')" type="button" class="btn btn-sm btn-primary btn-secondary">Unseen</button>
<button @click="vuejsMehtodName('Cancel')" type="button" class="btn btn-sm btn-danger btn-secondary">Cancel</button>
</div>
`);
},
I have attempted using @click.native as well, but unfortunately, it gives the same result. Any suggestions on how I can troubleshoot and fix this issue? Thank you.