I am currently facing an issue with a chart nested inside a Vue directive. My goal is to capture the click event, perform some actions, and then pass it through as usual.
To achieve this, I have inserted the following code:
v-on:click="clickThrough($event)"
along with:
methods: {
clickThrough: function (event) {
var a = 1
return event
}
}
I set a breakpoint at var a = 1
, but unfortunately, the breakpoint is not being triggered. It seems like something else might be intercepting the click event.
Does anyone have any suggestions on how to troubleshoot this situation?