or.yarn include vue-heatmapjs.Use.To utilize this plugin import it in your main.js.// main.js.bring in Vue coming from 'vue'.import heatmap coming from 'vue-heatmapjs'.Vue.use( heatmap).And afterwards you can easily incorporate the v-heatmap instruction to the dom factors you desire to track....You can easily toggle the heatmap on and also off through passing an expression in to the instruction:....Toggle Heatmap....
Utilizing the ordinance to a solitary nested part:.You can easily pay attention for activities through passing an afterAdd technique within the plugin choices, which will allow you to accessibility and also procedure the occasions caught for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( records) console.log( data).// you can discharge this spine to your analytics web server.,. ).A great task accessible on GitHub, help the writer through growing it!