or.yarn incorporate vue-heatmapjs.Consumption.To use this plugin import it in your main.js.// main.js.import Vue coming from 'vue'.import heatmap coming from 'vue-heatmapjs'.Vue.use( heatmap).And after that you can incorporate the v-heatmap regulation to the dom aspects you would like to track....You can easily toggle the heatmap on as well as off through passing an articulation right into the regulation:....Toggle Heatmap....
Utilizing the regulation to a singular embedded component:.You can easily listen closely for events by passing an afterAdd strategy within the plugin alternatives, which will certainly enable you to access and method the events caught for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( information) console.log( records).// you can fire this spine to your analytics hosting server.,. ).A trendy task accessible on GitHub, aid the author through increasing it!