or even.yarn incorporate vue-heatmapjs.Consumption.To use this plugin bring in it in your main.js.// main.js.bring in Vue from 'vue'.import heatmap from 'vue-heatmapjs'.Vue.use( heatmap).And after that you can easily incorporate the v-heatmap directive to the dom elements you would like to track....You can toggle the heatmap on and also off by passing a phrase in to the instruction:....Toggle Heatmap....
Utilizing the directive to a singular nested element:.You can easily listen closely for activities through passing an afterAdd procedure within the plugin choices, which are going to enable you to get access to and method the activities captured for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( data) console.log( data).// you may discharge this spine to your analytics web server.,. ).An awesome project on call on GitHub, assist the writer by expanding it!