or even.anecdote include vue-heatmapjs.Usage.To utilize this plugin import it in your main.js.// main.js.bring in Vue coming from 'vue'.import heatmap from 'vue-heatmapjs'.Vue.use( heatmap).And after that you may incorporate the v-heatmap instruction to the dom components you intend to track....You may toggle the heatmap on and also off by passing an articulation right into the instruction:....Toggle Heatmap....
Using the instruction to a single embedded component:.You may pay attention for activities by passing an afterAdd method within the plugin choices, which will certainly allow you to accessibility and also process the events recorded for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( data) console.log( records).// you can fire this back to your analytics hosting server.,. ).An awesome venture offered on GitHub, aid the author by broadening it!