4
One quick fix is adding v-on=”$listeners”
Vue.component('XonCanvas', {
template: '<canvas v-on="$listeners" width="500" height="500"></canvas>'
}
)
Source:stackexchange.com
4
One quick fix is adding v-on=”$listeners”
Vue.component('XonCanvas', {
template: '<canvas v-on="$listeners" width="500" height="500"></canvas>'
}
)