or even.anecdote include vue-heatmapjs.Utilization.To use this plugin bring in it in your main.js.// main.js.bring in Vue from 'vue'.bring in heatmap coming from 'vue-heatmapjs'.Vue.use( heatmap).And after that you may add the v-heatmap regulation to the dom factors you want to track....You can toggle the heatmap on as well as off through passing an expression in to the directive:....Toggle Heatmap....
Making use of the regulation to a singular nested part:.You can easily listen for events by passing an afterAdd approach within the plugin choices, which are going to enable you to gain access to and also method the activities grabbed for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( data) console.log( records).// you can terminate this spine to your analytics web server.,. ).An amazing venture readily available on GitHub, assist the author by extending it!