or.anecdote incorporate vue-heatmapjs.Utilization.To use this plugin bring in it in your main.js.// main.js.bring in Vue coming from 'vue'.bring in heatmap from 'vue-heatmapjs'.Vue.use( heatmap).And then you can easily include the v-heatmap ordinance to the dom elements you desire to track....You can easily toggle the heatmap on as well as off by passing an expression right into the regulation:....Button Heatmap....
Utilizing the instruction to a solitary nested component:.You may pay attention for occasions through passing an afterAdd technique within the plugin alternatives, which will definitely permit you to gain access to and method the celebrations recorded for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( information) console.log( records).// you may discharge this spine to your analytics hosting server.,. ).An awesome job accessible on GitHub, help the writer by extending it!