or even.yarn include vue-heatmapjs.Utilization.To use this plugin import it in your main.js.// main.js.bring in Vue from 'vue'.bring in heatmap coming from 'vue-heatmapjs'.Vue.use( heatmap).And afterwards you can easily incorporate the v-heatmap directive to the dom factors you want to track....You can easily toggle the heatmap on and off through passing an expression right into the ordinance:....Button Heatmap....
Using the regulation to a singular embedded part:.You can easily listen for activities by passing an afterAdd technique within the plugin possibilities, which are going to allow you to access and method the celebrations grabbed for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( information) console.log( information).// you can discharge this spine to your analytics hosting server.,. ).A great project accessible on GitHub, assist the author by expanding it!