or.anecdote incorporate vue-heatmapjs.Utilization.To use this plugin import it in your main.js.// main.js.bring in Vue from 'vue'.bring in heatmap from 'vue-heatmapjs'.Vue.use( heatmap).And after that you may add the v-heatmap instruction to the dom components you want to track....You may toggle the heatmap on and off through passing an expression into the directive:....Toggle Heatmap....
Utilizing the regulation to a solitary nested part:.You can easily pay attention for occasions by passing an afterAdd procedure within the plugin alternatives, which will definitely permit you to access as well as method the occasions captured for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( data) console.log( data).// you can ax this spine to your analytics web server.,. ).An awesome project offered on GitHub, assist the author by growing it!