or.anecdote incorporate vue-heatmapjs.Use.To use this plugin import it in your main.js.// main.js.bring in Vue coming from 'vue'.bring in heatmap from 'vue-heatmapjs'.Vue.use( heatmap).And afterwards you may incorporate the v-heatmap directive to the dom aspects you intend to track....You can easily toggle the heatmap on and off by passing an articulation into the instruction:....Toggle Heatmap....
Making use of the directive to a solitary nested component:.You can easily listen closely for celebrations through passing an afterAdd method within the plugin alternatives, which will certainly permit you to access as well as procedure the celebrations grabbed for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( information) console.log( records).// you can easily discharge this back to your analytics web server.,. ).An amazing project available on GitHub, aid the writer by extending it!